This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ language lawyer question


Gerald Pfeifer <gerald@pfeifer.com> writes:

[...]

> ...and if the "invited" friend is a member of a class, it must not
> be private or protected.  This is the difference between GCC 3.3 and
> 3.4.

Ah, I see.  Interesting question: can one bestow friendship on a
private or protected member.  Yes, that requires a language lawyer.
I've got the standard, but I'm not sure I'd be able to work out the
answer from it.

[...]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]