Boost C++ Libraries Home Libraries People FAQ More

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