File return.h¶
File List > coroutine > return.h
Go to the source code of this file.
Utility to define return types for coroutine. More...
#include <type_traits>
Namespaces¶
Type | Name |
---|---|
namespace | std |
namespace | experimental |
Classes¶
Type | Name |
---|---|
class | frame_t A type to acquire coroutine_handle<void> from anonymous coroutine's return. Requires manualdestroy of the coroutine handle. |
class | promise_type Acquire coroutine_handle<void> from current object and expose it throughget_return_object __ |
class | null_frame_promise no suspend in initial/final + void return |
struct | null_frame_t void retrun for coroutine function |
struct | promise_type |
class | passive_frame_t Suspend after invoke and expose its coroutine_handle<void> through return. |
class | promise_type |
class | promise_aa suspend_always (initial) +suspend_always (final) |
class | promise_an suspend_always (initial) +suspend_never (final) |
class | promise_na suspend_never (initial) +suspend_always (final) |
class | promise_nn suspend_never (initial) +suspend_never (final) |
struct | coroutine_traits< nullptr_t, P... > <P> Allow void return of the coroutine. |
struct | promise_type |
Macros¶
Type | Name |
---|---|
define | COROUTINE_PROMISE_AND_RETURN_TYPES_H |
Detailed Description¶
Author:
github.com/luncliff (luncliff@gmail.com)
Copyright:
CC BY 4.0 https://devblogs.microsoft.com/cppblog/c20-concepts-are-here-in-visual-studio-2019-version-16-3/
Macro Definition Documentation¶
define COROUTINE_PROMISE_AND_RETURN_TYPES_H¶
#define COROUTINE_PROMISE_AND_RETURN_TYPES_H
The documentation for this class was generated from the following file interface/coroutine/return.h