Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::parallel::basic_reduce< T > Struct Template Reference

Reduction operation used to reconcile differences between local and remote values for a particular key in a property map. More...

#include <basic_reduce.hpp>

Inheritance diagram for boost::parallel::basic_reduce< T >:

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, non_default_resolver=false)
 
template<typename Key >
T operator() (const Key &) const
 Returns a default-constructed T object. More...
 
template<typename Key >
const Toperator() (const Key &, const T &, const T &remote) const
 Returns the remote value. More...
 

Detailed Description

template<typename T>
struct boost::parallel::basic_reduce< T >

Reduction operation used to reconcile differences between local and remote values for a particular key in a property map.

The type T is typically the value_type of the property map. This basic reduction returns a default-constructed T as the default value and always resolves to the remote value.

Member Function Documentation

template<typename T>
boost::parallel::basic_reduce< T >::BOOST_STATIC_CONSTANT ( bool  ,
non_default_resolver  = false 
)
template<typename T>
template<typename Key >
T boost::parallel::basic_reduce< T >::operator() ( const Key &  ) const
inline

Returns a default-constructed T object.

template<typename T>
template<typename Key >
const T& boost::parallel::basic_reduce< T >::operator() ( const Key &  ,
const T ,
const T remote 
) const
inline

Returns the remote value.


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