yat
0.8.3pre
|
#include <yat/utility/iterator_traits.h>
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 |
Default implementation of iterator_traits_detail. Is supposed to be used for unweighted iterators. Weighted iterators use specialization below.
typedef std::iterator_traits<Iter>::reference theplu::yat::utility::detail::iterator_traits_detail< Iter, Enable >::data_reference |
for unweighted data_reference is reference
typedef const double theplu::yat::utility::detail::iterator_traits_detail< Iter, Enable >::weight_reference |
for unweighted weight_reference is a double
|
inline |
|
inline |