...世界上最受推崇和设计精良的 C++ 库项目之一。 — Herb Sutter 和 Andrei Alexandrescu,《C++ 编码规范
...世界上最受推崇和设计精良的 C++ 库项目之一。
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。