Itoyori  v0.0.1
reducer.hpp File Reference
Include dependency graph for reducer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ityr::reducer::default_identity_provider< T >
 
struct  ityr::reducer::monoid< T, BinaryOp, IdentityProvider >
 
struct  ityr::reducer::one< T >
 
struct  ityr::reducer::lowest< T >
 
struct  ityr::reducer::highest< T >
 
struct  ityr::reducer::min_functor< T >
 
struct  ityr::reducer::min_functor< void >
 
struct  ityr::reducer::max_functor< T >
 
struct  ityr::reducer::max_functor< void >
 
struct  ityr::reducer::minmax< T >
 
struct  ityr::reducer::reducer_generic< Acc, Fns >
 

Namespaces

 ityr
 
 ityr::reducer
 

Typedefs

template<typename T >
using ityr::reducer::plus = monoid< T, std::plus<> >
 
template<typename T >
using ityr::reducer::multiplies = monoid< T, std::multiplies<>, one< T > >
 
template<typename T >
using ityr::reducer::min = monoid< T, min_functor<>, highest< T > >
 
template<typename T >
using ityr::reducer::max = monoid< T, max_functor<>, lowest< T > >
 
using ityr::reducer::logical_and = monoid< bool, std::logical_and<>, std::true_type >
 
using ityr::reducer::logical_or = monoid< bool, std::logical_or<>, std::false_type >
 

Functions

template<typename... Fns>
decltype(auto) ityr::reducer::make_reducer (Fns &&... fns)