Boost logo

Boost :

Subject: Re: [boost] [unordered] a strange limitation for move emulation in Boost.Unordered
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2013-07-08 08:25:18


Daniel James <daniel <at> calamity.org.uk> writes:

>
> On 8 July 2013 09:17, Joaquin M Lopez Munoz <joaquin <at> tid.es> wrote:
> > Here:
> >
> >
http://www.boost.org/doc/html/unordered/compliance.html#unordered.compliance.move
> >
> > it reads:
> >
> > "Non-copyable objects can be stored in the containers, but without
> > support for rvalue references the container will not be movable."
> >
> > Why not? Container movement does not ever touch its elements, so I
> > don't see the connection.
>
> Using move emulation caused some problems:
>
> https://svn.boost.org/trac/boost/ticket/6167
> https://svn.boost.org/trac/boost/ticket/6311
>

Yes, but these problems have nothing to do with whether the
*elements* of the container are copyable or not, right?

Joaquín M López Muñoz
Telefónica Digital


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk