FLAME  devel
 All Classes Functions Variables Typedefs Enumerations Pages
Public Types | Public Member Functions | List of all members
value_proxy_iterator< I > Class Template Reference

#include <util.h>

Public Types

typedef I::iterator_category iterator_category
 
typedef I::value_type::second_type value_type
 
typedef std::ptrdiff_t difference_type
 
typedef value_type * pointer
 
typedef value_type & reference
 

Public Member Functions

 value_proxy_iterator (const I &o)
 
 value_proxy_iterator (const value_proxy_iterator &o)
 
reference operator* () const
 
pointer operator-> () const
 
reference operator[] (size_t i) const
 
bool operator== (const value_proxy_iterator &o) const
 
bool operator!= (const value_proxy_iterator &o) const
 
value_proxy_iteratoroperator++ ()
 
value_proxy_iterator operator++ (int)
 
value_proxy_iteratoroperator-- ()
 
value_proxy_iterator operator-- (int)
 
value_proxy_iteratoroperator+= (size_t i)
 
value_proxy_iteratoroperator-= (size_t i)
 
value_proxy_iterator operator+ (size_t i) const
 
value_proxy_iterator operator- (size_t i) const
 

Detailed Description

template<typename I>
class value_proxy_iterator< I >

An iterator which adapts the second member of a std::pair Allows iteration over a values of a std::map<K,V> to look like iteration over a std::list<V> or std::vector<V>.

Definition at line 38 of file util.h.


The documentation for this class was generated from the following file: