Itoyori  v0.0.1
ityr::reducer::monoid< T, BinaryOp, IdentityProvider > Struct Template Reference

#include <reducer.hpp>

Public Types

using value_type = T
 
using accumulator_type = T
 

Public Member Functions

void operator() (T &l, const T &r) const
 
void operator() (const T &l, T &r) const
 
operator() () const
 

Member Typedef Documentation

◆ accumulator_type

template<typename T , typename BinaryOp , typename IdentityProvider = default_identity_provider<T>>
using ityr::reducer::monoid< T, BinaryOp, IdentityProvider >::accumulator_type = T

◆ value_type

template<typename T , typename BinaryOp , typename IdentityProvider = default_identity_provider<T>>
using ityr::reducer::monoid< T, BinaryOp, IdentityProvider >::value_type = T

Member Function Documentation

◆ operator()() [1/3]

template<typename T , typename BinaryOp , typename IdentityProvider = default_identity_provider<T>>
T ityr::reducer::monoid< T, BinaryOp, IdentityProvider >::operator() ( ) const
inline

◆ operator()() [2/3]

template<typename T , typename BinaryOp , typename IdentityProvider = default_identity_provider<T>>
void ityr::reducer::monoid< T, BinaryOp, IdentityProvider >::operator() ( const T &  l,
T &  r 
) const
inline

◆ operator()() [3/3]

template<typename T , typename BinaryOp , typename IdentityProvider = default_identity_provider<T>>
void ityr::reducer::monoid< T, BinaryOp, IdentityProvider >::operator() ( T &  l,
const T &  r 
) const
inline

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