| 15345 | |
| 15346 | namespace Catch { |
| 15347 | bool uncaught_exceptions() { |
| 15348 | #if defined(CATCH_CONFIG_DISABLE_EXCEPTIONS) |
| 15349 | return false; |
| 15350 | #elif defined(CATCH_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS) |
| 15351 | return std::uncaught_exceptions() > 0; |
| 15352 | #else |
| 15353 | return std::uncaught_exception(); |
| 15354 | #endif |
| 15355 | } |
| 15356 | } // end namespace Catch |
| 15357 | // end catch_uncaught_exceptions.cpp |
| 15358 | // start catch_version.cpp |
no outgoing calls
no test coverage detected