Boost C++ Libraries/Boost.Asio

Boost.Asio 색인 - get_associated_executor

까마귀75 2021. 1. 28. 10:33
728x90
반응형

get_associated_executor

개체와 연관된 실행기(executor)를 가져오는 도우미 함수이다.

[1 / 3 오버로드]

template<
    typename T>
associated_executor< T >::type get_associated_executor(
    const T & t);

[get_associated_executor]

 

[2 / 3 오버로드]


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]

 

[3 / 3 오버로드]

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);

[get_associated_executor]

요구 사항

일반 헤더: boost/asio/associated_executor.hpp
편의 헤더: boost/asio.hpp

Boost.Asio 홈

728x90
반응형