How to use friend functions.
Tue Mar 2 13:48:00 GMT 2004
Could you provide a 10-20 line (nearly) compilable illustrative example of
what you are trying to attempt.
I'm using GCC 3.3.1 and my attempt to recreate your issue failed, since the
friend function worked fine in my toy program.
In the absence of such an example, I suspect that your problem is that you
are not forward declaring your function before declaring it a friend in
More information about the Gcc-help