Template class that creates an iterator to a class member based on an iterator to the class object.  
 More...
#include <IteratorToMember.hh>
|  | 
| typedef std::iterator_traits< It >::difference_type | difference_type | 
|  | 
| typedef std::iterator_traits< It >::iterator_category | iterator_category | 
|  | 
| typedef R * | pointer | 
|  | 
| typedef R & | reference | 
|  | 
| typedef std::iterator_traits< It >::value_type | T | 
|  | Type pointed to by original iterator. 
 | 
|  | 
| typedef R | value_type | 
|  | 
template<typename It, typename R>
class marley::IteratorToMember< It, R >
Template class that creates an iterator to a class member based on an iterator to the class object. 
The IteratorToMember class is based on this code. 
- Template Parameters
- 
  
    | It | type of the original iterator |  | R | type of the class member we want to point to |  
 
◆ IteratorToMember()
template<typename It , typename R > 
 
Construction from an iterator and a pointer to member. 
- Parameters
- 
  
    | from | Iterator to the object |  | memptr | Pointer to the member of interest |  
 
 
 
◆ operator++()
template<typename It , typename R > 
 
Postfix operator++ (dummy argument) 
- Note
- The standard behavior for this operator is to return the un-incremented value while incrementing the operand. See discussion here. 
 
 
The documentation for this class was generated from the following file: