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 move_insert_iterator

boost::move_insert_iterator

Synopsis

// In header: <boost/move/iterator.hpp>

template<typename C> 
class move_insert_iterator :
  public std::iterator< std::output_iterator_tag, void, void, void, void >
{
public:
  // types
  typedef C             container_type;
  typedef C::value_type value_type;    
  typedef C::reference  reference;     

  // construct/copy/destruct
  explicit move_insert_iterator(C &, typename C::iterator);
  move_insert_iterator& operator=(reference);
  move_insert_iterator& operator=(BOOST_RV_REF(value_type));

  // public member functions
  move_insert_iterator & operator*();
  move_insert_iterator & operator++();
  move_insert_iterator & operator++(int);
};

Description

move_insert_iterator public construct/copy/destruct

  1. explicit move_insert_iterator(C & x, typename C::iterator pos);
  2. move_insert_iterator& operator=(reference x);
  3. move_insert_iterator& operator=(BOOST_RV_REF(value_type) x);

move_insert_iterator public member functions

  1. move_insert_iterator & operator*();
  2. move_insert_iterator & operator++();
  3. move_insert_iterator & operator++(int);

PrevUpHomeNext