libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::ppd::private_::alg_wk_wrap::merge_work_type< Comp, TPB > Struct Template Reference

Assist with implementing the parallel versions of the standard algorithms. More...

#include <parallel_algorithms.hpp>

Public Types

typedef void result_type
 
typedef Comp operation_type
 
typedef TPB thread_pool_type
 

Public Member Functions

constexpr __stdcall merge_work_type (operation_type const &o, thread_pool_type &p) noexcept(true) FORCE_INLINE
 
constexpr void __fastcall process () noexcept(true) FORCE_INLINE
 
constexpr bool __fastcall operator< (merge_work_type const &) const noexcept(true) FORCE_INLINE
 

Static Public Member Functions

template<class CoreWk >
static void resize_output (CoreWk &wk) noexcept(false) FORCE_INLINE
 

Public Attributes

const operation_type comp
 
thread_pool_typepool
 

Detailed Description

template<class Comp, class TPB>
struct jmmcg::ppd::private_::alg_wk_wrap::merge_work_type< Comp, TPB >

Assist with implementing the parallel versions of the standard algorithms.

See also
merge_reduce

Definition at line 770 of file parallel_algorithms.hpp.

Member Typedef Documentation

◆ operation_type

template<class Comp , class TPB >
typedef Comp jmmcg::ppd::private_::alg_wk_wrap::merge_work_type< Comp, TPB >::operation_type

Definition at line 772 of file parallel_algorithms.hpp.

◆ result_type

template<class Comp , class TPB >
typedef void jmmcg::ppd::private_::alg_wk_wrap::merge_work_type< Comp, TPB >::result_type

Definition at line 771 of file parallel_algorithms.hpp.

◆ thread_pool_type

template<class Comp , class TPB >
typedef TPB jmmcg::ppd::private_::alg_wk_wrap::merge_work_type< Comp, TPB >::thread_pool_type

Definition at line 773 of file parallel_algorithms.hpp.

Constructor & Destructor Documentation

◆ merge_work_type()

template<class Comp , class TPB >
constexpr __stdcall jmmcg::ppd::private_::alg_wk_wrap::merge_work_type< Comp, TPB >::merge_work_type ( operation_type const &  o,
thread_pool_type p 
)
inlineconstexprnoexcept

Definition at line 778 of file parallel_algorithms.hpp.

Member Function Documentation

◆ operator<()

template<class Comp , class TPB >
constexpr bool __fastcall jmmcg::ppd::private_::alg_wk_wrap::merge_work_type< Comp, TPB >::operator< ( merge_work_type< Comp, TPB > const &  ) const
inlineconstexprnoexcept

Definition at line 785 of file parallel_algorithms.hpp.

◆ process()

template<class Comp , class TPB >
constexpr void __fastcall jmmcg::ppd::private_::alg_wk_wrap::merge_work_type< Comp, TPB >::process ( )
inlineconstexprnoexcept

Definition at line 782 of file parallel_algorithms.hpp.

◆ resize_output()

template<class Comp , class TPB >
template<class CoreWk >
void jmmcg::ppd::private_::alg_wk_wrap::merge_work_type< Comp, TPB >::resize_output ( CoreWk &  wk)
inlinestaticnoexcept

Definition at line 228 of file parallel_algorithms_impl.hpp.

Member Data Documentation

◆ comp

template<class Comp , class TPB >
const operation_type jmmcg::ppd::private_::alg_wk_wrap::merge_work_type< Comp, TPB >::comp

Definition at line 775 of file parallel_algorithms.hpp.

◆ pool

template<class Comp , class TPB >
thread_pool_type& jmmcg::ppd::private_::alg_wk_wrap::merge_work_type< Comp, TPB >::pool

Definition at line 776 of file parallel_algorithms.hpp.


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