Boost logo

Boost :

Subject: Re: [boost] ASIO into the standard
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2014-07-12 07:40:44

On 12 Jul 2014 at 10:20, Daniel James wrote:

> > I have been lazy as it's test code, and implemented a move assignment
> > like this for an internal item_type due to value_type.first being
> > const:
> I move the nodes over when possible (when the allocators propagate on
> move or are equal), but copy the key otherwise.

How can you copy the key if it's const? It seemed to me, unless I
have missed something, that I need to do an allocator destroy
followed by at least an allocator copy construct as the key is const?


ned Productions Limited Consulting

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