yat
0.20.3pre
|
#include <yat/utility/iterator_traits.h>
Public Types | |
typedef detail::weighted_iterator_traits_detail< value >::type | type |
Metafunction to decide whether an Iterator is weighted or non-weighted. This (default) implementation returns unweighted_iterator_tag, unless value_type
of Iterator is convertible to DataWeight in which case weighted_iterator_tag is returned.
Type Requirements:
boost::iterator_value<Iterator>::type
must be defined, which is guaranteed if Iterator
is a Readable Iterator (std::ostream_iterator
e.g. does not work) typedef detail::weighted_iterator_traits_detail<value>::type theplu::yat::utility::weighted_iterator_traits< Iterator >::type |