| Home | Libraries | People | FAQ | More

## Class template move_insert_iterator

boost::move_insert_iterator

## Synopsis

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

    template<typename C>
    class move_insert_iterator {
    public:
      // types
      typedef C                        container_type;
      typedef C::value_type            value_type;
      typedef C::reference             reference;
      typedef C::pointer               pointer;
      typedef C::difference_type       difference_type;
      typedef std::output_iterator_tag iterator_category;

      // public member functions
      explicit move_insert_iterator(C &, typename C::iterator);
      move_insert_iterator & operator=(reference);
      move_insert_iterator & operator=(value_type &&);
      move_insert_iterator & operator*();
      move_insert_iterator & operator++();
      move_insert_iterator & operator++(int);
    };

## Description

### `move_insert_iterator` public member functions

1.     explicit move_insert_iterator(C & x, typename C::iterator pos);

2.     move_insert_iterator & operator=(reference x);

3.     move_insert_iterator & operator=(value_type && x);

4.     move_insert_iterator & operator*();

5.     move_insert_iterator & operator++();

6.     move_insert_iterator & operator++(int);