Boost logo

Boost :

Subject: Re: [boost] [move] Library uploaded to sandbox
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-02-21 15:28:04


vicente.botet wrote:
> [...]
> With this implicit conversion the
>
> Derived(BOOST_RV_REF(Derived) x) // Move ctor
> : Base(boost::move(static_cast<Base&>(x))),
> mem_(boost::move(x.mem_)) { }
>
> could be
>
> Derived(BOOST_RV_REF(Derived) x) // Move ctor
> : Base(x),
> mem_(boost::move(x.mem_)) { }
>
> What do you think?

I think that is not what rvalue references do.


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