From mboxrd@z Thu Jan 1 00:00:00 1970 From: nathan@gcc.gnu.org To: David.Partridge@primeur.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org Subject: Re: c++/3462: base class ctor in initializer list problem Date: Wed, 25 Jul 2001 06:52:00 -0000 Message-id: <20010725135239.11712.qmail@sourceware.cygnus.com> X-SW-Source: 2001-07/msg00675.html List-Id: 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