Itoyori  v0.0.1
ityr::reducer::minmax< T > Struct Template Reference

#include <reducer.hpp>

Public Types

using value_type = T
 
using accumulator_type = std::pair< T, T >
 

Public Member Functions

void operator() (accumulator_type &acc, const value_type &x) const
 
void operator() (accumulator_type &acc_l, const accumulator_type &acc_r) const
 
void operator() (const accumulator_type &acc_l, accumulator_type &acc_r) const
 
accumulator_type operator() () const
 

Member Typedef Documentation

◆ accumulator_type

template<typename T >
using ityr::reducer::minmax< T >::accumulator_type = std::pair<T, T>

◆ value_type

template<typename T >
using ityr::reducer::minmax< T >::value_type = T

Member Function Documentation

◆ operator()() [1/4]

template<typename T >
accumulator_type ityr::reducer::minmax< T >::operator() ( ) const
inline

◆ operator()() [2/4]

template<typename T >
void ityr::reducer::minmax< T >::operator() ( accumulator_type acc,
const value_type x 
) const
inline

◆ operator()() [3/4]

template<typename T >
void ityr::reducer::minmax< T >::operator() ( accumulator_type acc_l,
const accumulator_type acc_r 
) const
inline

◆ operator()() [4/4]

template<typename T >
void ityr::reducer::minmax< T >::operator() ( const accumulator_type acc_l,
accumulator_type acc_r 
) const
inline

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