#include <future.hpp>
Public Types | |
typedef Function | function_type |
Indicates the function's type. More... | |
typedef result_of< function_type()>::type | future_result_type |
Indicates the future's result type. More... | |
typedef Future< future_result_type > | future_type |
Indicates the future's type. More... | |
typedef void | result_type |
Indicates the functor's result type. More... | |
Public Member Functions | |
BOOST_STATIC_ASSERT (function_traits< function_type()>::arity==0) | |
BOOST_STATIC_ASSERT (!is_void< future_result_type >::value) | |
future_impl_task_func (function_type const &function, shared_ptr< future_type > const &future) | |
void | operator() () |
Private Attributes | |
function_type | m_function |
shared_ptr< future_type > | m_future |
Definition at line 164 of file detail/future.hpp.
typedef Function boost::threadpool::detail::future_impl_task_func< Future, Function >::function_type |
Indicates the function's type.
Definition at line 170 of file detail/future.hpp.
typedef result_of<function_type()>::type boost::threadpool::detail::future_impl_task_func< Future, Function >::future_result_type |
Indicates the future's result type.
Definition at line 171 of file detail/future.hpp.
typedef Future<future_result_type> boost::threadpool::detail::future_impl_task_func< Future, Function >::future_type |
Indicates the future's type.
Definition at line 172 of file detail/future.hpp.
typedef void boost::threadpool::detail::future_impl_task_func< Future, Function >::result_type |
Indicates the functor's result type.
Definition at line 168 of file detail/future.hpp.
|
inline |
Definition at line 185 of file detail/future.hpp.
boost::threadpool::detail::future_impl_task_func< Future, Function >::BOOST_STATIC_ASSERT | ( | function_traits< function_type()>::arity | = =0 | ) |
boost::threadpool::detail::future_impl_task_func< Future, Function >::BOOST_STATIC_ASSERT | ( | !is_void< future_result_type >::value | ) |
|
inline |
Definition at line 191 of file detail/future.hpp.
|
private |
Definition at line 181 of file detail/future.hpp.
|
private |
Definition at line 182 of file detail/future.hpp.