vector<> can probably never grow to it's maximum size!
Dhruv Matani
dhruvbird@gmx.net
Mon Oct 18 19:04:00 GMT 2004
On Mon, 2004-10-18 at 23:35, Paolo Carlini wrote:
> Paolo Carlini wrote:
>
> > So, you are 100% sure that our std::vector *never* grows above max_size?
>
> Nevermind: I see now that it can't. std::string confused me, since in
> that case
> max_size is smaller and without specific measures it would...
grow larger than max_size?
Is it because of the npos issue?
>
> Paolo.
--
-Dhruv Matani.
http://www.geocities.com/dhruvbird/
The price of freedom is responsibility, but it's a bargain, because
freedom is priceless. ~ Hugh Downs
More information about the Libstdc++
mailing list