Boost logo

Boost :

From: joel falcou (joel.falcou_at_[hidden])
Date: 2008-08-07 05:47:30

> Because, like many buffers, in practice I find the maximum size is
> often a run-time constant. It is possible to get most of the
benefits of a
> compile-time parameter constant with a
compiletime_int (see end of
> e-mail).

Nice trick ! So
I think this cover my worry on this subejct :)

> a)
Implementations of std::vector behave badly in tight memory
circumstances. <snip>

I wonder if some of the STL
container and/or assorted algorithm doesn't
need a somewhat modern
clean-up/rewrite or are they that much "holy" that
shouldn't/couldn't provide proper alternatives with backward compatible


> b) When you have a container which holds
few elements, it is nice to be
> able to check how many things it
can hold. <snip>
That's indeed a problem

Boost list run by bdawes at, gregod at, cpdaniel at, john at