c++/7699: Inner class scopting not working correctly for function prototype matching

lerdsuwa@gcc.gnu.org lerdsuwa@gcc.gnu.org
Fri Sep 13 09:49:00 GMT 2002


Synopsis: Inner class scopting not working correctly for function prototype matching

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Fri Sep 13 09:48:26 2002
State-Changed-Why:
    Not a bug.  You need the 'typename' keyword in the following places:
           typename A<N>::B operator*();
    and
           template <typename N>
           typename A<N>::B A<N>::C::D::operator*()

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7699



More information about the Gcc-bugs mailing list