Configuration
Covers optional preprocessor macros that change the libraries behaviour.
By default the library doesn't require any preprocessor definitions to be defined in order to work. However it is possible to define some in order to change the libraries behaviour:
| Preprocessor definition | Consequence |
|---|---|
CONTINUABLE_WITH_NO_EXCEPTIONS | Exceptions are disabled and std::error_condition is used as error_ |
CONTINUABLE_WITH_CUSTOM_ERROR_TYPE | Exceptions are disabled and the type defined by CONTINUABLE_WITH_CUSTOM_ERROR_TYPE is used as error_ |
CONTINUABLE_WITH_UNHANDLED_EXCEPTIONS | Allows unhandled exceptions in asynchronous call hierarchies. See Using fail and exceptions for details. |
CONTINUABLE_WITH_EXPERIMENTAL_COROUTINE | Enables support for experimental coroutines and co_await expressions. See continuable_base:: |