4 Oct
2014
4 Oct
'14
12:11 a.m.
Initializing base classes in move constructors involves some boiler-plate code. Is there a reason why a macro is not provided for it? Something like: #define BOOST_MOVE_INITBASEMOVECTOR(baseclassname, rhs) \ baseclassname(::boost::move(static_cast<baseclassname &>(rhs)))