c++/4973: weird template instantiation
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Sun Sep 15 12:37:00 GMT 2002
Synopsis: weird template instantiation
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Sun Sep 15 12:35:24 2002
State-Changed-Why:
not a bug. Net<5>::SubNet requires instantiating Net<5>
(to see what SubNet turns out to be). That instantiates the
interface of all Net<5>'s functions, which includes
Net(typename Net<D+1>::SubNet const &), and
so it'll never terminate
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4973
More information about the Gcc-bugs
mailing list