Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit c89e626766.
PrevUpHomeNext

Macro BOOST_COPYABLE_AND_MOVABLE

BOOST_COPYABLE_AND_MOVABLE

Synopsis

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

BOOST_COPYABLE_AND_MOVABLE(TYPE)

Description

This macro marks a type as copyable and movable. The user will need to write a move constructor/assignment and a copy assignment as explained in the documentation to fully write a copyable and movable class.


PrevUpHomeNext