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 insert_iterator<boost::interprocess::slist< T, A >>

std::insert_iterator<boost::interprocess::slist< T,A >>

Synopsis

template<typename T, typename A> 
class insert_iterator<boost::interprocess::slist< T, A >> {
public:
  // types
  typedef Container           container_type;   
  typedef output_iterator_tag iterator_category;
  typedef void                value_type;       
  typedef void                difference_type;  
  typedef void                pointer;          
  typedef void                reference;        

  // construct/copy/destruct
  insert_iterator& operator=(const typename Container::value_type &);

  // public member functions
   insert_iterator(Container &, typename Container::iterator, bool = false) ;
  insert_iterator< Container > & operator *() ;
  insert_iterator< Container > & operator++() ;
  insert_iterator< Container > & operator++(int) ;
};

Description

insert_iterator public construct/copy/destruct

  1. insert_iterator& operator=(const typename Container::value_type & value);

insert_iterator public member functions

  1.  insert_iterator(Container & x, typename Container::iterator i, 
                     bool is_previous = false) ;
  2. insert_iterator< Container > & operator *() ;
  3. insert_iterator< Container > & operator++() ;
  4. insert_iterator< Container > & operator++(int) ;

PrevUpHomeNext