Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | List of all members
seastar::adder< Result, Addend > Class Template Reference

Detailed Description

template<typename Result, typename Addend = Result>
class seastar::adder< Result, Addend >

Implements @Reducer concept. Calculates the result by adding elements to the accumulator.

#include <seastar/core/map_reduce.hh>

Public Member Functions

future operator() (const Addend &value)
 
Result get () &&
 

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