proxygen
folly::pushmi::reduce_fn::fn< BinaryOp > Struct Template Reference

Public Member Functions

template<class Acc , class Cursor >
void operator() (Acc &acc, Cursor cursor) const
 

Public Attributes

BinaryOp binary_op_
 

Detailed Description

template<class BinaryOp>
struct folly::pushmi::reduce_fn::fn< BinaryOp >

Definition at line 28 of file reduce.h.

Member Function Documentation

template<class BinaryOp >
template<class Acc , class Cursor >
void folly::pushmi::reduce_fn::fn< BinaryOp >::operator() ( Acc &  acc,
Cursor  cursor 
) const
inline

Definition at line 31 of file reduce.h.

References folly::pushmi::reduce_fn::fn< BinaryOp >::binary_op_.

31  {
32  acc = binary_op_(acc, *cursor);
33  }

Member Data Documentation

template<class BinaryOp >
BinaryOp folly::pushmi::reduce_fn::fn< BinaryOp >::binary_op_

Definition at line 29 of file reduce.h.

Referenced by folly::pushmi::reduce_fn::fn< BinaryOp >::operator()().


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