Boost logo

Boost :

Subject: Re: [boost] [containers] Are there flat_map/set and stable_vector proposals at work?
From: Jonathan Wakely (jwakely.boost_at_[hidden])
Date: 2013-10-27 08:32:40

On 25 October 2013 20:44, Rob Stewart wrote:
> A flat_map, backed by std::array, is quite possibly no faster than a normal C++11 map, with a suitable allocator. A C++03 map won't use its allocator for nodes, but IIRC, a C++11 map will.

What do you mean by "use"?

std::map has always allocated the memory for its nodes using its allocator.

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