libjmmcg
build_2783
A C++ library containing an eclectic mix of useful, advanced components.
|
A wrapper for converting a boost::bind() unspecified-object into an object suitable for transferring into a thread_pool. More...
#include <thread_dsel_types.hpp>
Public Types | |
typedef BindFn | operation_type |
typedef operation_type::result_type | result_type |
Public Member Functions | |
__stdcall | wrap_boost_bind_t (operation_type &&fn) noexcept(noexcept(operation_type(std::declval< operation_type >()))) FORCE_INLINE |
void __fastcall | process (result_type &res) FORCE_INLINE |
template<class BindFn1 > | |
constexpr bool __fastcall FORCE_INLINE | operator< (BindFn1 const &) const noexcept(true) |
A wrapper for converting a boost::bind() unspecified-object into an object suitable for transferring into a thread_pool.
Definition at line 372 of file thread_dsel_types.hpp.
typedef BindFn jmmcg::ppd::private_::wrap_boost_bind_t< BindFn >::operation_type |
Definition at line 374 of file thread_dsel_types.hpp.
typedef operation_type::result_type jmmcg::ppd::private_::wrap_boost_bind_t< BindFn >::result_type |
Definition at line 375 of file thread_dsel_types.hpp.
|
inlineexplicitnoexcept |
fn | An object returned from calling boost::bind. There must be no unbound arguments in the ctor, otherwise this will fail to compile. Also the called function must return an instance of the result_type object, not void. |
Definition at line 380 of file thread_dsel_types.hpp.
|
inlineconstexprnoexcept |
Definition at line 389 of file thread_dsel_types.hpp.
|
inline |
Definition at line 384 of file thread_dsel_types.hpp.