Subject: Re: [boost] [Container] Provide more guarantees for flat_multimap
From: Lars Viklund (zao_at_[hidden])
Date: 2014-08-17 11:06:05
On Sun, Aug 17, 2014 at 02:08:52PM +0200, Bjorn Reese wrote:
> 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.
After thinking way too hard for a bit, I'd reckon it stands for
"constant time". I would not have deciphered it without the "low
latency" and "no allocation" hints.
-- Lars Viklund | zao_at_[hidden]