1#ifndef CPPCORO_COROUTINE_HPP_INCLUDED
2#define CPPCORO_COROUTINE_HPP_INCLUDED
6#ifdef CPPCORO_COROHEADER_FOUND_AND_USABLE
11 using std::coroutine_handle;
12 using std::suspend_always;
13 using std::noop_coroutine;
14 using std::suspend_never;
17#elif __has_include(<experimental/coroutine>)
19#include <experimental/coroutine>
22 using std::experimental::coroutine_handle;
23 using std::experimental::suspend_always;
24 using std::experimental::suspend_never;
26#if CPPCORO_COMPILER_SUPPORTS_SYMMETRIC_TRANSFER
27 using std::experimental::noop_coroutine;
32#error Cppcoro requires a C++20 compiler with coroutine support