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_stable_iterators

boost::algorithm::has_stable_iterators — Stable iterators trait.

Synopsis

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

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

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

Description

This trait specifies that the sequence has stable iterators. It means that operations like insert/erase/replace do not invalidate iterators.


PrevUpHomeNext