associated_executor 개체와 연결된 실행기(executor)를 얻는 데 사용되는 특성 유형이다. template struct associated_executor 유 형 이 름 설 명 type T에 중첩된 유형 executor_type이 있으면, T::executor_type이다. 그렇지 않으면 Executor 이다. 멤버 함수 이 름 설 명 get [static] T에 중첩된 유형 executor_type이 있으면, t.get_executor()를 반환한다. 그렇지 않으면 ex를 반환한다. 특수화에서 T 템플릿 파라미터가 사용자 정의 유형이라면, 프로그램은 이 특성 유형을 특수화 할 수 있다. 템플릿 ..
io_context 핵심 I/O 기능을 제공한다. class io_context : public execution_context 유 형 이 름 설 명 basic_executor_type io_context에 함수를 제출하는 데 사용되는 실행기(executor) 구현 유형. service 모든 io_context 서비스의 기본 클래스. strand 직렬화 된 처리기 실행을 제공. work (더 이상 사용되지 않음: executor_work_guard 사용.) 처리할 작업이 있을 때 io_context에 알리는 클래스. count_type 컨텍스트에서 실행되는 핸들러 수를 계산하는 데 사용되는 유형. executor_type io_context에 함수를 제출하는 데 사용되는 실행기(executor). for..
yield_context 현재 실행중인 코-루틴을 나타내는 컨텍스트 개체이다. typedef basic_yield_context yield_context; 유 형 이 름 설 명 callee_type 구현에서 사용되는 코-루틴 수신자 유형이다. caller_type 구현에서 사용되는 코-루틴 호출자 유형이다. 멤버 함수 이 름 설 명 basic_yield_context [constructor] 지정된 코-루틴을 나타내는 yield 컨텍스트를 생성한다. — 다른 yield 컨텍스트 유형에서 yield 컨텍스트를 생성한다. operator[] 지정된 error_code를 설정하는 yield 컨텍스트를 반환한다. basic_yield_context 클래스는 현재 실행중인 스택형 코-루..