| // Copyright Catch2 Authors | |
| // Distributed under the Boost Software License, Version 1.0. | |
| // (See accompanying file LICENSE_1_0.txt or copy at | |
| // https://www.boost.org/LICENSE_1_0.txt) | |
| // SPDX-License-Identifier: BSL-1.0 | |
| /** \file | |
| * Wrapper for UNCAUGHT_EXCEPTIONS configuration option | |
| * | |
| * For some functionality, Catch2 requires to know whether there is | |
| * an active exception. Because `std::uncaught_exception` is deprecated | |
| * in C++17, we want to use `std::uncaught_exceptions` if possible. | |
| */ | |