I have a few questions regarding operator overloading. One, How do I forward-reference an operator redefinition? GPC complains when I leave out the parameter and result declarations in the actual definition: TRoot.epb:83: error: missing operator result variable TRoot.epb:83: error: result type of operator undefined TRoot.epb:83: error: operator must have two arguments If I can't do that, why not? Not being able to do that is awkward, when you're dealing with modules. Two, Why does GPC spit out a warning when the arguments are classes (as opposed to pointers to classes)? TRoot.eph:71: warning: object type declared as value parameter P.S. I replied to most of the mails sent to me through -users and -doc; if you didn't receive it, please let me know. I've been having mail trouble for a few months now, and I've only recently been able to fix it. -- Political Dissident Neil Santos Free Software Advocate Jabber: nsantos@jabber.org Please avoid sending me attachments encoded in secret formatting. See http://www.fsf.org/philosophy/no-word-attachments.html
participants (2)
-
Frank Heckenbach -
Neil Santos