17 Aug
2014
17 Aug
'14
3:06 p.m.
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
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@acc.umu.se