[Boost-bugs] [Boost C++ Libraries] #10595: Feature Request: Macro for initializing base classes in move ctors.

Subject: [Boost-bugs] [Boost C++ Libraries] #10595: Feature Request: Macro for initializing base classes in move ctors.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-04 05:15:54


#10595: Feature Request: Macro for initializing base classes in move ctors.
------------------------------+----------------------------
 Reporter: anonymous | Owner: igaztanaga
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: move
  Version: Boost 1.56.0 | Severity: Not Applicable
 Keywords: |
------------------------------+----------------------------
 Initializing base classes in move constructors involves some
 boiler-plate code. To remedy this, it is requested that a macro along the
 following lines be provided:

 #define BOOST_MOVE_INITBASEMOVECTOR(baseclassname, rhs) \
   baseclassname(::boost::move(static_cast<baseclassname &>(rhs)))

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10595>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC