Using C++ in GCC is OK

Laurynas Biveinis laurynas.biveinis@gmail.com
Wed Jun 2 08:04:00 GMT 2010


2010/6/2 Ian Lance Taylor <iant@google.com>:
>> Ian, do you have an idea on how to avoid _M_impl dependency in
>> gengtype or what else to do about it?
>>
>> Because we can trivially make gengtype mark the vector itself and mark
>> whatever was put into vector, but not _M_impl.
>
> I don't think I understand the question.  _M_impl is a field of the
> vector itself.  It's not allocated separately.

But the _M_impl._M_start is allocated separately.

-- 
Laurynas



More information about the Gcc mailing list