Boost logo

Boost :

Subject: Re: [boost] Proposal: Monotonic Containers
From: Andrew Sutton (andrew.n.sutton_at_[hidden])
Date: 2009-06-09 11:29:43

> Most of the messages here ignore an important detail, quoted from Scott
> Meyer's Effective STL, item 10:


To summarize, std::vector<T, monotonic_allocator<T> > won't work if each

Well, sure... if you want to be "effective" :)

For some reason, that book isn't sitting on my desk, but that's a really
nicely summarized argument. This isn't the first time, however, that
somebody has proposed allocators that require non-static members ( - see

This may be a special class of allocators that requires special attention.

Andrew Sutton

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