Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

结构体模板 has_move_emulation_enabled - Boost C++ 函数库
PrevUpHomeNext

结构体模板 has_move_emulation_enabled

boost::has_move_emulation_enabled

提要

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

template<typename T> 
struct has_move_emulation_enabled {

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

描述

如果 T 被标记为 BOOST_MOVABLE_BUT_NOT_COPYABLE 或 BOOST_COPYABLE_AND_MOVABLE,并且平台上不可用右值引用,则此特性在编译时产生 true 布尔值。否则为 false。


PrevUpHomeNext