728x90
반응형
get_associated_executor
개체와 연관된 실행기(executor)를 가져오는 도우미 함수이다.
template< typename T> associated_executor< T >::type get_associated_executor( const T & t);
template< typename T, typename Executor> associated_executor< T, Executor >::type get_associated_executor( const T & t, const Executor & ex, typename enable_if< is_executor< Executor >::value||execution::is_executor< Executor >::value >::type * = 0);
[Executor, get_associated_executor]
template< typename T, typename ExecutionContext> associated_executor< T, typename ExecutionContext::executor_type >::type get_associated_executor( const T & t, ExecutionContext & ctx, typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type * = 0);
요구 사항
일반 헤더: boost/asio/associated_executor.hpp
편의 헤더: boost/asio.hpp
Boost.Asio 홈
728x90
반응형
'Boost C++ Libraries > Boost.Asio' 카테고리의 다른 글
Boost.Asio 색인 - basic_deadline_timer::get_executor (0) | 2021.01.28 |
---|---|
Boost.Asio 색인 - basic_datagram_socket::get_executor (0) | 2021.01.28 |
Boost.Asio 색인 - get_associated_allocator (0) | 2021.01.28 |
Boost.Asio 색인 - use_future_t::get_allocator (0) | 2021.01.28 |
Boost.Asio 색인 - windows::overlapped_ptr::get (0) | 2021.01.28 |