yat  0.8.3pre
Public Types
theplu::yat::utility::weighted_iterator_traits< Iterator > Struct Template Reference

#include <yat/utility/iterator_traits.h>

List of all members.

Public Types

typedef
detail::weighted_iterator_traits_detail
< value >::type 
type

Detailed Description

template<class Iterator>
struct theplu::yat::utility::weighted_iterator_traits< Iterator >

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.


Member Typedef Documentation

Returns:
weighted_iterator_tag if Iterator::value_type is convertible to DataWeight

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