------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-04 
21:07 -------
Fixed on the mainline, we reject it because struct B is not a complete 
struct/class at the point we define 
the friend:
pr17448.cc: In function 'void Bar(A<T>&, B)':
pr17448.cc:5: error: 'b' has incomplete type
pr17448.cc:2: error: forward declaration of 'struct B'

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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

Reply via email to