Exceptions
This component allows users to enable or disable exceptions for C++ source files within a target.
IMPORTANT
This component is currently only supported under GCC, Clang, and MSVC for C++.
Targets
Dialects::Exceptions::Off
- Turns exception features off for a dependency.
- Compilers will typically generate an error if language features requiring exceptions are encountered. This can cause issues with
constexpr
orconsteval
code. Dialects::Exceptions::On
- Turns exception features on for a dependency.