This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]