use_future_t::allocator_type 할당기(allocator) 유형이다. 할당기(allocator)는 주어진 비동기 작업에 대한 std::promise 개체를 생성할 때 사용된다. typedef Allocator allocator_type; 요구사항 일반 헤더: boost/asio/use_future.hpp 편의 헤더: boost/asio.hpp Boost.Asio. 홈
thread_pool::add_service execution_context에서 상속된다. (사용되지 않음: make_service()를 사용) execution_context에 서비스 개체를 추가한다. template friend void add_service( execution_context & e, Service * svc); ["Service" 요구사항] 이 함수는 execution_context에 서비스를 추가하는데 사용된다. 파라미터 이 름 설 명 e 서비스를 소유하는 execution_context 개체 svc 서비스 개체 성공하면, 서비스 개체의 소유권이 execution_context로 이전된다. execution_context 개체가 소멸되면, 다음을 ..
system_context::add_service execution_context에서 상속된다. (사용되지 않음: make_service()를 사용) execution_context에 서비스 개체를 추가한다. template friend void add_service( execution_context & e, Service * svc); ["Service" 요구사항] 이 함수는 execution_context에 서비스를 추가하는데 사용된다. 파라미터 이 름 설 명 e 서비스를 소유하는 execution_context 개체 svc 서비스 개체 성공하면, 서비스 개체의 소유권이 execution_context로 이전된다. execution_context 개체가 소멸되면, 다..