vector<> can probably never grow to it's maximum size!
Paolo Carlini
pcarlini@suse.de
Mon Oct 18 13:36:00 GMT 2004
Dhruv Matani wrote:
>// Ok, we did not get how much we asked for. But the allocate(n, hint)
>is implemented such that if the allocator could not allocate the
>required memory, it gives us whatever little it can, and sets
>settle_for_less_memory to the number of objects that it actually has
>allocated space for. This magic should go into the allocator.
>
>
This is interesting, but I cannot understand anymore what you want to work
on!! Do you want to work on a new allocator? Or improve the conformance
of std::vector? Or specialize its behavior for a new allocator? Or you want
to change the standard as far as vector memory allocation is concerned?
I'm confused, just let us know and we can plan the *remaining* tasks... ;)
Paolo.
More information about the Libstdc++
mailing list