1234567891011121314151617181920212223242526272829303132333435363738 |
- #ifndef BOOST_PARALLEL_BASIC_REDUCE_HPP
- #define BOOST_PARALLEL_BASIC_REDUCE_HPP
- namespace boost { namespace parallel {
- template<typename T>
- struct basic_reduce
- {
- BOOST_STATIC_CONSTANT(bool, non_default_resolver = false);
-
- template<typename Key>
- T operator()(const Key&) const { return T(); }
-
-
- template<typename Key>
- const T& operator()(const Key&, const T&, const T& remote) const
- { return remote; }
- };
- } }
- #endif
|