Template Struct reducer

Struct Documentation

template<typename R, typename First, typename ...Rest>
struct udho::internal::reducer

Public Types

typedef First object_type
typedef boost::function<R(Rest...)> function_type
typedef boost::function<R(First, Rest...)> actual_function_type

Public Functions

reducer(object_type that, actual_function_type actual)
R operator()(const Rest&... rest)

Public Members

object_type _that
actual_function_type _actual