GCC friend decleration in 3.4.x
Georg Grabler
ggrabler@gmail.com
Sat Dec 25 16:48:00 GMT 2004
Hello!
I've the following problem with gcc 3.4.3
class A { void f(); };
class B { friend void A::f(); }; // A::f is private and therefore not
accessable...
Now, will it stay like this in future GCC-Versions, or will it be like in the
3.x series? Is it a bug, or a feature? How can i do a similar implementation
with the 3.4.3 version of GCC?
Thank you,
Georg Grabler
More information about the Gcc-help
mailing list