[Bug c++/33468] [4.1/4.2/4.3 Regression] C++: Invalid interpretation of friendness with nested classes
simartin at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 10 20:34:00 GMT 2007
------- Comment #2 from simartin at gcc dot gnu dot org 2007-11-10 20:33 -------
For information, the compiler accepts this because it implements DR 45
(http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#45).
It looks like the implementation has been in for a long time, but the it did
not work completely, and it was fixed to fix PR#18681. This could explain why
this code was accepted up to 4.0.3.
--
simartin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |simartin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33468
More information about the Gcc-bugs
mailing list