Boost C++ 库

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

类模板 has_native_replace - Boost C++ 函数库
PrevUpHomeNext

类模板 has_native_replace

boost::algorithm::has_native_replace — 本地替换特性。

提要

// In header: <boost/algorithm/string/sequence_traits.hpp>

template<typename T> 
class has_native_replace {
public:
  // types
  typedef mpl::bool_< has_native_replace< T >::value > type;

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

描述

此特性指定序列具有类似于 std::string 的替换方法。


PrevUpHomeNext