![]() |
Home | Libraries | People | FAQ | More |
boost::any_iterator
// In header: <boost/iterator/any_iterator.hpp> template<typename Value, typename CategoryOrTraversal, typename Reference = Value&, typename Difference = std::ptrdiff_t> class any_iterator { public: // types typedef boost::iterator_category_to_traversal< CategoryOrTraversal >::type Traversal; // member classes/structs/unions struct disabler { }; struct enabler { }; // construct/copy/destruct any_iterator(); any_iterator(any_iterator const &); template<typename WrappedIterator> any_iterator(WrappedIterator const &, unspecified = disabler()); any_iterator& operator=(any_iterator const &); template<typename WrappedIterator> any_iterator& operator=(WrappedIterator const &); ~any_iterator(); // public member functions operator const_type_with_const_value_type() const; operator const_type_with_non_const_value_type() const; template<typename TargetTraversal> operator any_iterator< Value, TargetTraversal, Reference, Difference >() const; // private member functions Reference dereference() const; bool equal(any_iterator const &) const; void increment() ; void decrement() ; void advance(Difference) ; Difference distance_to(any_iterator const &) const; any_iterator & swap(any_iterator &) ; unspecified make_traversal_converted_version(boost::incrementable_traversal_tag *) const; unspecified make_traversal_converted_version(boost::single_pass_traversal_tag *) const; unspecified make_traversal_converted_version(boost::forward_traversal_tag *) const; unspecified make_traversal_converted_version(boost::bidirectional_traversal_tag *) const; };
any_iterator
public
construct/copy/destructany_iterator();
any_iterator(any_iterator const & rhs);
template<typename WrappedIterator> any_iterator(WrappedIterator const & wrapped_iterator, unspecified = disabler());
any_iterator& operator=(any_iterator const & rhs);
template<typename WrappedIterator> any_iterator& operator=(WrappedIterator const & wrapped_iterator);
~any_iterator();
any_iterator
private member functionsReference dereference() const;
bool equal(any_iterator const & rhs) const;
void increment() ;
void decrement() ;
void advance(Difference n) ;
Difference distance_to(any_iterator const & other) const;
any_iterator & swap(any_iterator & other) ;
unspecified make_traversal_converted_version(boost::incrementable_traversal_tag * funcSelector) const;
unspecified make_traversal_converted_version(boost::single_pass_traversal_tag * funcSelector) const;
unspecified make_traversal_converted_version(boost::forward_traversal_tag * funcSelector) const;
unspecified make_traversal_converted_version(boost::bidirectional_traversal_tag * funcSelector) const;