yat  0.21pre
Public Types | List of all members
theplu::yat::statistics::averager_pair< Iterator1, Iterator2 > Struct Template Reference

#include <yat/statistics/averager_traits.h>

Public Types

typedef averager_traits< typename utility::weighted_if_any2< Iterator1, Iterator2 >::type >::pair_type type
 

Detailed Description

template<typename Iterator1, typename Iterator2>
struct theplu::yat::statistics::averager_pair< Iterator1, Iterator2 >

Convenience wrapper around averager_traits

See also
weighted_iterator_traits \

Member Typedef Documentation

◆ type

template<typename Iterator1, typename Iterator2>
typedef averager_traits< typename utility::weighted_if_any2<Iterator1, Iterator2>::type >::pair_type theplu::yat::statistics::averager_pair< Iterator1, Iterator2 >::type

Convenience Metafunction taking two iterators as argument and return either AveragerPair (if both iterators are unweighted) or AveragerPairWeighted otherwise.


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

Generated on Wed Jan 25 2023 03:34:29 for yat by  doxygen 1.8.14