paludis  Version 2.6.0
List of all members
paludis::MemberIterator< Value_, Iterator_, member_ > Class Template Reference

#include <member_iterator.hh>

+ Inheritance diagram for paludis::MemberIterator< Value_, Iterator_, member_ >:

Basic operations

 MemberIterator ()
 
 MemberIterator (const MemberIterator &)
 
 MemberIterator (const Iterator_ &)
 
MemberIteratoroperator= (const MemberIterator &)
 

Standard library typedefs

typedef std::remove_const< typename std::remove_reference< Value_ >::type >::type value_type
 
typedef const std::remove_reference< Value_ >::type & reference
 
typedef const std::remove_reference< Value_ >::type * pointer
 
typedef std::ptrdiff_t difference_type
 
typedef std::forward_iterator_tag iterator_category
 

Increment

MemberIteratoroperator++ ()
 
MemberIterator operator++ (int)
 

Dereference

pointer operator-> () const
 
reference operator* () const
 

Equality

bool operator== (const MemberIterator &) const
 

Detailed Description

template<typename Value_, typename Iterator_, Value_ std::remove_reference< typename std::iterator_traits< Iterator_ >::value_type >::type::* member_>
class paludis::MemberIterator< Value_, Iterator_, member_ >

A MemberIterator is a wrapper around a forward iterator to a struct, selecting one particular member of that struct for the value.

Since
0.26

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