[coroutine.syn] (original) (raw)

17 Language support library [support]

17.12 Coroutines [support.coroutine]

17.12.1 Header synopsis [coroutine.syn]

#include

namespace std {

template<class R, class... ArgTypes> struct coroutine_traits;

template struct coroutine_handle;

constexpr bool operator==(coroutine_handle<> x, coroutine_handle<> y) noexcept; constexpr strong_ordering operator<=>(coroutine_handle<> x, coroutine_handle<> y) noexcept;

template struct hash; template struct hash<coroutine_handle

>;

struct noop_coroutine_promise;

template<> struct coroutine_handle; using noop_coroutine_handle = coroutine_handle;

noop_coroutine_handle noop_coroutine() noexcept;

struct suspend_never; struct suspend_always; }