Galois::ReduceCollectionWrap< CollectionTy, AdaptorTy > Struct Template Reference

Turns functions over elements of a range into functions over collections. More...

#include <Accumulator.h>

List of all members.

Public Types

typedef CollectionTy::value_type value_type

Public Member Functions

void operator() (CollectionTy &lhs, const CollectionTy &rhs)
void operator() (CollectionTy &lhs, const value_type &rhs)

Detailed Description

template<typename CollectionTy, template< class > class AdaptorTy>
struct Galois::ReduceCollectionWrap< CollectionTy, AdaptorTy >

Turns functions over elements of a range into functions over collections.

void operator()(T a) => void operator()(Collection<T>& a, const Collection<T>& b)


Member Typedef Documentation

template<typename CollectionTy, template< class > class AdaptorTy>
typedef CollectionTy::value_type Galois::ReduceCollectionWrap< CollectionTy, AdaptorTy >::value_type

Member Function Documentation

template<typename CollectionTy, template< class > class AdaptorTy>
void Galois::ReduceCollectionWrap< CollectionTy, AdaptorTy >::operator() ( CollectionTy &  lhs,
const value_type rhs 
) [inline]
template<typename CollectionTy, template< class > class AdaptorTy>
void Galois::ReduceCollectionWrap< CollectionTy, AdaptorTy >::operator() ( CollectionTy &  lhs,
const CollectionTy &  rhs 
) [inline]

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

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1