|
Boost : |
Subject: [boost] [move] Macro for initializing base classes in move ctors.
From: Mostafa (mostafa_working_away_at_[hidden])
Date: 2014-10-03 20:11:33
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)))
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk