cppcoro/config.hpp file

Defines

#define CPPCORO_COMPILER_MSVC
#define CPPCORO_COMPILER_CLANG
#define CPPCORO_COMPILER_GCC
#define CPPCORO_COMPILER_SUPPORTS_SYMMETRIC_TRANSFER
#define CPPCORO_ASSUME(X)
#define CPPCORO_NOINLINE
#define CPPCORO_FORCE_INLINE
#define CPPCORO_OS_WINNT
#define CPPCORO_OS_LINUX
#define CPPCORO_CPU_X86
#define CPPCORO_CPU_X64
#define CPPCORO_CPU_32BIT
#define CPPCORO_CPU_64BIT
#define CPPCORO_CPU_CACHE_LINE

Define documentation

#define CPPCORO_COMPILER_SUPPORTS_SYMMETRIC_TRANSFER

Defined to 1 if the compiler supports returning a coroutine_handle from the await_suspend() method as a way of transferring execution to another coroutine with a guaranteed tail-call.

#define CPPCORO_OS_WINNT

Defined to non-zero if the target platform is a WindowsNT variant. 0x0500 - Windows 2000 0x0501 - Windows XP/Server 2003 0x0502 - Windows XP SP2/Server 2003 SP1 0x0600 - Windows Vista/Server 2008 0x0601 - Windows 7 0x0602 - Windows 8 0x0603 - Windows 8.1 0x0A00 - Windows 10

#define CPPCORO_CPU_X86

Defined to 1 if target CPU is of x86 family.

#define CPPCORO_CPU_X64

Defined to 1 if the target CPU is x64 family.

#define CPPCORO_CPU_32BIT

Defined if compiling for a 32-bit CPU architecture.

#define CPPCORO_CPU_64BIT

Defined if compiling for a 64-bit CPU architecture.