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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Struct template has_move_emulation_enabled

boost::has_move_emulation_enabled

Synopsis

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

template<typename T> 
struct has_move_emulation_enabled {

  // public data members
  static const bool value;
};

Description

This trait yields to a compile-time true boolean if T was marked as BOOST_MOVABLE_BUT_NOT_COPYABLE or BOOST_COPYABLE_AND_MOVABLE and rvalue references are not available on the platform. False otherwise.


PrevUpHomeNext