[Bug c++/35641] ICE on overload of friend function definition inside a class

fang at csl dot cornell dot edu gcc-bugzilla@gcc.gnu.org
Sat Mar 22 23:52:00 GMT 2008



------- Comment #1 from fang at csl dot cornell dot edu  2008-03-22 23:51 -------
In general, friend injection is not part of the standard, so best practice is
to declare before befriending.  


-- 

fang at csl dot cornell dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fang at csl dot cornell dot
                   |                            |edu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35641



More information about the Gcc-bugs mailing list