Boost logo

Boost :

Subject: Re: [boost] Movable but not copyable bug?
From: Mostafa (mostafa_working_away_at_[hidden])
Date: 2014-08-25 12:08:39


On Mon, 25 Aug 2014 03:23:59 -0700, Ion Gaztañaga <igaztanaga_at_[hidden]>
wrote:

[snip]

> I also noted that you've disabled the assignment operator taking by
> value. I have no idea on what can happen, as Boost.Move disables also
> the copy assignment taking by non-const reference.

Does that mean that when using BOOST_MOVABLE_BUT_NOT_COPYABLE clients
should not delete the copy constructor or the copy assignment operator? If
so, that should be documented.

Also, can BOOST_COPYABLE_AND_MOVABLE be used with the copy-and-swap idiom?


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