This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3462: base class ctor in initializer list problem
- To: David dot Partridge at primeur dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Subject: Re: c++/3462: base class ctor in initializer list problem
- From: nathan at gcc dot gnu dot org
- Date: 25 Jul 2001 13:52:39 -0000
Synopsis: base class ctor in initializer list problem
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Wed Jul 25 06:52:38 2001
State-Changed-Why:
not a bug. As the provided code is not complete, I cannot
completely verify what you're trying to do, but Artem's
analysis is correct. You must use a template id expr
for the base class initializers -- consider if you had two
different instantiations of the same template for bases.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3462&database=gcc