Galois::ReduceVectorWrap< BinFunc > Struct Template Reference

Turns binary functions over item references into functions over vectors of items. More...

#include <Accumulator.h>

List of all members.

Public Member Functions

 ReduceVectorWrap (const BinFunc &f=BinFunc())
template<typename T >
void operator() (T &lhs, const T &rhs) const

Public Attributes

BinFunc fn

Detailed Description

template<typename BinFunc>
struct Galois::ReduceVectorWrap< BinFunc >

Turns binary functions over item references into functions over vectors of items.

void operator()(T& a, const T& b) => void operator()(std::vector<T>& a, const std::vector<T>& b)


Constructor & Destructor Documentation

template<typename BinFunc>
Galois::ReduceVectorWrap< BinFunc >::ReduceVectorWrap ( const BinFunc &  f = BinFunc()  )  [inline]

Member Function Documentation

template<typename BinFunc>
template<typename T >
void Galois::ReduceVectorWrap< BinFunc >::operator() ( T &  lhs,
const T &  rhs 
) const [inline]

Member Data Documentation

template<typename BinFunc>
BinFunc Galois::ReduceVectorWrap< BinFunc >::fn

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

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1