yat  0.8.3pre
Public Types | Public Member Functions
theplu::yat::utility::detail::iterator_traits_detail< Iter, Enable > Struct Template Reference

#include <yat/utility/iterator_traits.h>

List of all members.

Public Types

typedef std::iterator_traits
< Iter >::reference 
data_reference
typedef const double weight_reference

Public Member Functions

data_reference data (Iter iter) const
weight_reference weight (Iter iter) const

Detailed Description

template<typename Iter, typename Enable = void>
struct theplu::yat::utility::detail::iterator_traits_detail< Iter, Enable >

 Default implementation of iterator_traits_detail. Is supposed to
 be used for unweighted iterators. Weighted iterators use
 specialization below.

Member Typedef Documentation

template<typename Iter , typename Enable = void>
typedef std::iterator_traits<Iter>::reference theplu::yat::utility::detail::iterator_traits_detail< Iter, Enable >::data_reference

for unweighted data_reference is reference

template<typename Iter , typename Enable = void>
typedef const double theplu::yat::utility::detail::iterator_traits_detail< Iter, Enable >::weight_reference

for unweighted weight_reference is a double


Member Function Documentation

template<typename Iter , typename Enable = void>
data_reference theplu::yat::utility::detail::iterator_traits_detail< Iter, Enable >::data ( Iter  iter) const
inline
Returns:
* iter
template<typename Iter , typename Enable = void>
weight_reference theplu::yat::utility::detail::iterator_traits_detail< Iter, Enable >::weight ( Iter  iter) const
inline
Returns:
1.0

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

Generated on Thu Dec 20 2012 03:13:00 for yat by  doxygen 1.8.0-20120409