C++0x Constructor Delegation
Sun Mar 4 20:50:00 GMT 2007
Mark Mitchell escreveu:
> 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.
I do have a different version of the patch with checks in
I'll polish it a little and send it for review.
More information about the Gcc-patches