4 Oct
2014
4 Oct
'14
5:17 a.m.
On Fri, 03 Oct 2014 22:06:51 -0700, Ion Gaztañaga
El 04/10/2014 2:11, Mostafa escribió:
Initializing base classes in move constructors involves some boiler-plate code. Is there a reason why a macro is not provided for it?
Nobody has required it ;-)
Something like:
#define BOOST_MOVE_INITBASEMOVECTOR(baseclassname, rhs) \ baseclassname(::boost::move(static_cast
(rhs))) Sounds like good idea. Can you please open an ticket/issue?