C++ Logo

std-proposals

Advanced search

Re: [std-proposals] constexpr std::uncaught_exceptions

From: Tam S. B. <cpplearner_at_[hidden]>
Date: Mon, 22 Jan 2024 07:38:42 +0000
> I propose to mark the function std::uncaught_exceptions constexpr. This can be done because there can never be an active exception during constant evaluation. This is true for C++23, but P2996R1 wants to allow exceptions during constant evaluation. See https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2996r1.html#error-handling-in-reflection ________________________________________ From: Std-Proposals <std-proposals-bounces_at_[hidden]> on behalf of Jan Schultke via Std-Proposals <std-proposals_at_[hidden]> Sent: Sunday, January 21, 2024 22:42 To: std-proposals_at_[hidden] Cc: Jan Schultke Subject: [std-proposals] constexpr std::uncaught_exceptions I have written a proposal draft which makes some of the <exception> facilities constexpr. See https://eisenwave.github.io/cpp-proposals/constexpr-uncaught-exceptions.html Please share your thoughts :) -- Std-Proposals mailing list Std-Proposals_at_[hidden] https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals

Received on 2024-01-22 07:38:45