empty_reductor_fn< ReducingFnT, InitialStateT, InputTs > Struct Template Reference
Reductor_Fn object that does not require inputs to be fed at construction time. More...
#include <atria/xform/reductor.hpp>
Public Types | |
using | base_t = reductor_fn_base< detail::caller< estd::decay_t< ReducingFnT > >, estd::decay_t< skip_result_t< ReducingFnT, InitialStateT, InputTs... > >, InputTs... > |
Public Member Functions | |
template<typename ReducingFnT2 , typename InitialStateT2 , typename... InputTs2> | |
empty_reductor_fn (ReducingFnT2 &&step, InitialStateT2 &&state) | |
Detailed Description
template<typename ReducingFnT, typename InitialStateT, typename... InputTs>
struct atria::xform::empty_reductor_fn< ReducingFnT, InitialStateT, InputTs >
Reductor_Fn object that does not require inputs to be fed at construction time.
In some cases though, reductor_fn
can perform better.
- See also
- reductor_fn
- reductor_fn_base
Definition at line 213 of file reductor.hpp.
The documentation for this struct was generated from the following file:
- src/atria/xform/reductor.hpp