Boost C++ Libraries/Boost.Asio

Boost.Asio 색인 - executor_binder::result_type

까마귀75 2021. 2. 28. 02:15
728x90
반응형

executor_binder::result_type

함수인 경우 반환 유형이다.

typedef see_below result_type;

result_type 유형은 래퍼 대상 개체의 유형 T를 기반으로 한다:

  • T가 함수 유형의 포인터이면, result_typeT의 반환 유형과 동일하다.
  • Tresult_type 멤버 유형을 갖는 클래스 유형이면, result_typeT::result_type와 동일하다.
  • 그렇지 않으면, result_type은 정의되지 않는다.

요구 사항

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

Boost.Asio 홈

728x90
반응형