This is the mail archive of the
mailing list for the GCC project.
Re: C++0x Constructor Delegation
Andrew Pinski wrote:
> I think emit_mem_initializers check could be improved, and only have a
> loop in the case of the error and also only in C++0x mode because it
> might slow down the compiler too much.
Rather, this check should just be done in the parser, as it can know
what names indicate a base/member and which name a constructor. It just
has to maintain a seen-delegate bit. That follows the principle of
keeping invalid representations contained as tightly as possible within
the C++ front end.
(650) 331-3385 x713