executor::post 주어진 함수 개체를 호출하도록 실행기(executor)에게 요청한다. template void post( Function && f, const Allocator & a) const; 이 함수는 실행기(executor)에게 주어진 함수 개체를 실행하도록 요청하는데 사용된다. 함수 개체는 대상 실행기(executor) 개체의 규칙에 따라 실행된다. 파리미터 이 름 설 명 f 호출될 함수 개체이다. 실행기(executor)는 필요에 따라 핸들러 개체의 복사본을 만들 수 있다. 함수 개체의 함수 서명은 다음과 같아야 한다: void function(); a 함수 호출에 필요한 내부 저장소를 할당하기 위해 실행기(e..
executor::operator== 두 실행기(executor)가 동일한지 비교한다. friend bool operator==( const executor & a, const executor & b); 요구 사항 일반 헤더: boost/asio/executor.hpp 편의 헤더: boost/asio.hpp Boost.Asio 홈
executor::operator!= 두 실행기(executor)가 다른지 비교한다. friend bool operator!=( const executor & a, const executor & b); 요구 사항 일반 헤더: boost/asio/executor.hpp 편의 헤더: boost/asio.hpp Boost.Asio 홈