|
Boost : |
Subject: Re: [boost] [move] interest: the pass-by-value and swap idiom, and explicit copy constructors
From: Lars Viklund (zao_at_[hidden])
Date: 2014-02-14 12:16:29
On Fri, Feb 14, 2014 at 05:52:53PM +0100, Krzysztof Czainski wrote:
> - a protocol for explicitly stating in code, where a copy is to be made
> (boost::copy()), which compliments the protocol for explicitly stating in
Note that boost::copy already exists as the widely used Range-based
complement of std::copy algorithm.
I just want to get this out of the way so people can focus on the actual
proposal and not parrot this over and over again.
> code, where a move is allowed (std::move() or boost::move());
-- Lars Viklund | zao_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk