basic_yield_context 현재 실행중인 코-루틴을 나타내는 컨텍스트 개체이다. template class basic_yield_context [Handler] 유 형 이 름 설 명 callee_type 구현에서 사용되는 코-루틴 수신자 유형이다. caller_type 구현에서 사용되는 코-루틴 호출자 유형이다. 멤버 함수 이 름 설 명 basic_yield_context [constructor] 지정된 코-루틴을 나타내는 yield 컨텍스트를 생성한다. — 다른 yield 컨텍스트 유형에서 yield 컨텍스트를 생성한다. operator[] 지정된 error_code를 설정하는 yield 컨텍스트를 반환한다. basic_yield_context 클래스는 현재 ..
coroutine 스택리스(스택이 없는) 코-루틴 구현에 대한 지원을 제공한다. class coroutine 멤버 함수 이 름 설 명 coroutine [constructor] 초기 상태로 코-루틴을 생성한다. is_child 코-루틴이 포크(fork)의 자식이면, true를 반환한다. is_complete 코-루틴이 최종(terminal) 상태에 도달하면, true를 반환한다. is_parent 코-루틴이 포크(fork)의 부모이면, true를 반환한다. coroutine 클래스는 스택리스(스택이 없는) 코-루틴을 구현하는데 사용될 수 있다. 클래스 자체는 코-루틴의 현재 상태를 저장하는데 사용된다. coroutine은 복사-생성 및 할당 가능하며, 공간 오버헤드는 단일 int 유형이다. corouti..
use_awaitable_t::executor_with_default 기본 값으로 use_awaitable_t 완료 토큰을 추가하도록 실행기(executor)를 조정한다. template struct executor_with_default [InnerExecutor] 유 형 이 름 설 명 default_completion_token_type 기본 완료 토큰 유형으로 use_awaitable_t를 지정한다. 멤버 함수 이 름 설 명 executor_with_default [constructor] 내부 실행기(executor) 유형에서 조정된 실행기(executor)를 생성한다. — 지정된 실행기(executor)를 내부 실행기(executor) 유형으로 변환한 ..
use_awaitable_t 현재 실행중인 코-루틴을 나타내는 완료 토큰이다. template struct use_awaitable_t [Executor] 유 형 이 름 설 명 executor_with_default 기본 값으로 use_awaitable_t 완료 토큰을 추가하도록 실행기(executor)를 조정한다. 멤버 함수 이 름 설 명 as_default_on [static] use_awaitable_t를 기본 완료 토큰 유형으로 사용하도록 I/O 개체를 조정하는 함수 도우미이다. use_awaitable_t [constructor] 기본 생성자 — 파일 이름, 라인, 함수 이름을 명시하는 데 사용되는 생성자. 값이 use_awai..
associated_allocator 개체와 연결된 할당기(allocator)를 얻는 데 사용되는 특성 유형이다. template struct associated_allocator 유 형 이 름 설 명 type T에 중첩 유형 allocator_type이 있으면, T::allocator_type이다. 그렇지 않으면 Allocator(할당기)이다. 멤버 함수 이 름 설 명 get [static] T에 중첩 유형 allocator_type이 있으면, t.get_allocator()를 반환한다. 그렇지 않으면 a를 반환 한다. 특수화에서 T 템플릿 파라미터가 사용자 정의 유형이면, 프로그램은 이 특성 유형을 특수화 할 수..