Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.
PrevUpHomeNext

Class template has_const_time_insert

boost::algorithm::has_const_time_insert — Const time insert trait.

Synopsis

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

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

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

Description

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


PrevUpHomeNext