Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Macro BOOST_RV_REF_END

BOOST_RV_REF_END

Synopsis

// In header: <boost/move/core.hpp>

BOOST_RV_REF_END

Description

This macro is used to achieve portable syntax in move constructors and assignments for template classes marked as BOOST_COPYABLE_AND_MOVABLE or BOOST_MOVABLE_BUT_NOT_COPYABLE. As macros have problems with comma-separated template arguments, the template argument must be preceded with BOOST_RV_REF_BEG and ended with BOOST_RV_REF_END


PrevUpHomeNext