Sizes when sizeof(value_type) == 1 (Was: Re: vector<> can...)

Paolo Carlini pcarlini@suse.de
Tue Oct 19 13:11:00 GMT 2004


Dhruv Matani wrote:

>>>I don;t think so. It seems fine to me.
>>>
>Yes, this pesky case *does* remain as a bug, and I have mentioned in my
>previous email:
>
>"Even otherwise IMHO.
>We *should* have a check that __len > __old_size everywhere."
>  
>
Fine, but don't write "I don't think so. It seems fine to me"...

>This problem would be solved partially IMHO with the patch I'm about to
>send.
>  
>
Let's fix it completely, instead... ;)

Paolo.



More information about the Libstdc++ mailing list