From 70232d07f70cd6f5b912a3e0a7243ff41a4828c5 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Sat, 21 Jun 2025 06:21:35 +0200 Subject: [PATCH] P3748R0 Inspecting exception_ptr should be constexpr --- source/support.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/support.tex b/source/support.tex index 0f588cac52..a0309772a8 100644 --- a/source/support.tex +++ b/source/support.tex @@ -3869,7 +3869,7 @@ constexpr exception_ptr current_exception() noexcept; [[noreturn]] constexpr void rethrow_exception(exception_ptr p); template constexpr exception_ptr make_exception_ptr(E e) noexcept; - template const E* exception_ptr_cast(const exception_ptr& p) noexcept; + template constexpr const E* exception_ptr_cast(const exception_ptr& p) noexcept; template void exception_ptr_cast(const exception_ptr&&) = delete; template [[noreturn]] constexpr void throw_with_nested(T&& t); @@ -4250,7 +4250,7 @@ \indexlibraryglobal{exception_ptr_cast}% \begin{itemdecl} -template const E* exception_ptr_cast(const exception_ptr& p) noexcept; +template constexpr const E* exception_ptr_cast(const exception_ptr& p) noexcept; \end{itemdecl} \begin{itemdescr}