Boost logo

Boost :

Subject: Re: [boost] [Review] Formal Review: Boost.Move
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-09-18 21:55:49


On Thu, Sep 16, 2010 at 7:17 PM, Thomas Klimpel
<Thomas.Klimpel_at_[hidden]> wrote:
>  self_t& operator=(self_t&& rr) { swap(std::move(rr)); return *this; }

I'm really surprised to see rvalue references in this code. Aren't
you talking about move _emulation_ here? If you have rvalue
references, why not just use real move semantics?

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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