Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template has_const_time_erase

boost::algorithm::has_const_time_erase — Const time erase trait.

Synopsis

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

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

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

Description

This trait specifies that the sequence's erase method has constant time complexity.


PrevUpHomeNext