libjmmcg
build_2783
A C++ library containing an eclectic mix of useful, advanced components.
|
An adaptor to allow STL binary functions to be operated upon in the thread_pool. More...
#include <parallel_algorithms.hpp>
Classes | |
struct | arg_contexts_t |
Public Types | |
typedef PT | pool_type |
typedef BinFn | operation_type |
typedef stl_functor_result_type< typename operation_type::result_type > | result_type |
typedef ArgT1 | first_argument_type |
typedef ArgT2 | second_argument_type |
Public Member Functions | |
__stdcall | binary_fun_work_type (first_argument_type &&lhs, second_argument_type &&rhs, operation_type const &o, pool_type &pool) noexcept(false) FORCE_INLINE |
void __fastcall | process (result_type &r) FORCE_INLINE |
bool __fastcall | operator< (binary_fun_work_type const &rhs) const noexcept(true) FORCE_INLINE |
template<class Arg1 > | |
constexpr bool __fastcall FORCE_INLINE | operator< (Arg1 const &) const noexcept(true) |
Static Public Attributes | |
static constexpr ppd::generic_traits::memory_access_modes | memory_access_mode |
An adaptor to allow STL binary functions to be operated upon in the thread_pool.
Note that the inputs are evaluated by transferring them into the pool, and the execution_context that holds the result has an automatic conversion to the result_type.
Definition at line 1071 of file parallel_algorithms.hpp.
typedef ArgT1 jmmcg::ppd::private_::binary_fun_work_type< ArgT1, ArgT2, BinFn, PT >::first_argument_type |
Definition at line 1076 of file parallel_algorithms.hpp.
typedef BinFn jmmcg::ppd::private_::binary_fun_work_type< ArgT1, ArgT2, BinFn, PT >::operation_type |
Definition at line 1074 of file parallel_algorithms.hpp.
typedef PT jmmcg::ppd::private_::binary_fun_work_type< ArgT1, ArgT2, BinFn, PT >::pool_type |
Definition at line 1073 of file parallel_algorithms.hpp.
typedef stl_functor_result_type<typename operation_type::result_type> jmmcg::ppd::private_::binary_fun_work_type< ArgT1, ArgT2, BinFn, PT >::result_type |
Definition at line 1075 of file parallel_algorithms.hpp.
typedef ArgT2 jmmcg::ppd::private_::binary_fun_work_type< ArgT1, ArgT2, BinFn, PT >::second_argument_type |
Definition at line 1077 of file parallel_algorithms.hpp.
|
inlinenoexcept |
Definition at line 561 of file parallel_algorithms_impl.hpp.
|
inlineconstexprnoexcept |
Definition at line 1104 of file parallel_algorithms.hpp.
|
inlinenoexcept |
Definition at line 572 of file parallel_algorithms_impl.hpp.
|
inline |
Definition at line 566 of file parallel_algorithms_impl.hpp.
|
staticconstexpr |
To assist in allowing compile-time computation of the algorithmic order of the threading model.
Definition at line 1091 of file parallel_algorithms.hpp.