Boost logo

Boost :

Subject: Re: [boost] [Container] Provide more guarantees for flat_multimap
From: Bjorn Reese (breese_at_[hidden])
Date: 2014-08-17 08:08:52

On 08/15/2014 08:22 PM, Niall Douglas wrote:

> * A new std::pair<iterator, bool> insert_ct(node_ptr_type &&v)
> inserts only if no new memory would be allocated. This is highly
> valuable for low latency use.

The _ct suffix is a bit obscure (as in "I have no idea what it means.")
Alternatively you could use a tag argument on an overloaded insert()
to specify the memory-allocation policy.

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