| |
|
| | |
| | |
| | |
| | |
| |
|
| | |
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| |
|
| | #ifndef CATCH_CONFIG_UNCAUGHT_EXCEPTIONS_HPP |
| | #define CATCH_CONFIG_UNCAUGHT_EXCEPTIONS_HPP |
| |
|
| | #if defined(_MSC_VER) |
| | # if _MSC_VER >= 1900 |
| | # define CATCH_INTERNAL_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS |
| | # endif |
| | #endif |
| |
|
| |
|
| | #include <exception> |
| |
|
| | #if defined(__cpp_lib_uncaught_exceptions) \ |
| | && !defined(CATCH_INTERNAL_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS) |
| |
|
| | # define CATCH_INTERNAL_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS |
| | #endif |
| |
|
| |
|
| | #if defined(CATCH_INTERNAL_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS) \ |
| | && !defined(CATCH_CONFIG_NO_CPP17_UNCAUGHT_EXCEPTIONS) \ |
| | && !defined(CATCH_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS) |
| |
|
| | # define CATCH_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS |
| | #endif |
| |
|
| |
|
| | #endif |
| |
|