This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/4973: weird template instantiation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]