| 3454 | #if !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS) |
| 3455 | template <typename Ex> |
| 3456 | [[noreturn]] |
| 3457 | void throw_exception(Ex const& e) { |
| 3458 | throw e; |
| 3459 | } |
| 3460 | #else // ^^ Exceptions are enabled // Exceptions are disabled vv |
| 3461 | [[noreturn]] |
| 3462 | void throw_exception(std::exception const& e); |