This is the mail archive of the
mailing list for the GCC project.
Re: V3 PATCH: Insert `typename' and `ios_base::' whererequired
>>>>> "Richard" == Richard Henderson <firstname.lastname@example.org> writes:
Richard> On Thu, Feb 15, 2001 at 09:47:53PM -0800, Mark Mitchell
>> We do -- but when we do template instantiation we forget that
>> __extension__ was specified. So, in a template instantiation
>> this doesn't work. Fixing that is doable, but non-trivial.
Richard> Oh, right. Well, there's always alloca...
Nope, not in this case... We have no way of knowing what CharT will
be, and it good be something that needs a constructor run, etc.
So, I think ugliness involving actual dynamic allocation will end up
being necessary -- unless master-of-library-arcana Benjamin can figure
out a way to avoid allocating the array at all...
Mark Mitchell email@example.com
CodeSourcery, LLC http://www.codesourcery.com