
21 Feb
2009
21 Feb
'09
8:28 p.m.
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.