Boost C++ 库

...世界上备受推崇且设计精湛的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ Coding Standards

类模板 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 的 replace 方法


PrevUpHomeNext