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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Class template has_const_time_insert

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

Synopsis

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

Description

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


PrevUpHomeNext