
19 Sep
2010
19 Sep
'10
1:55 a.m.
On Thu, Sep 16, 2010 at 7:17 PM, Thomas Klimpel <Thomas.Klimpel@synopsys.com> 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