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 for the latest Boost documentation.
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;
  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