Skip to content

Commit f3cd073

Browse files
authored
Merge 2025-06 LWG Motion 16
P3748R0 Inspecting exception_ptr should be constexpr
2 parents bdf3652 + 037495e commit f3cd073

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/support.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3865,7 +3865,7 @@
38653865
constexpr exception_ptr current_exception() noexcept;
38663866
[[noreturn]] constexpr void rethrow_exception(exception_ptr p);
38673867
template<class E> constexpr exception_ptr make_exception_ptr(E e) noexcept;
3868-
template<class E> const E* exception_ptr_cast(const exception_ptr& p) noexcept;
3868+
template<class E> constexpr const E* exception_ptr_cast(const exception_ptr& p) noexcept;
38693869
template<class E> void exception_ptr_cast(const exception_ptr&&) = delete;
38703870

38713871
template<class T> [[noreturn]] constexpr void throw_with_nested(T&& t);
@@ -4246,7 +4246,7 @@
42464246

42474247
\indexlibraryglobal{exception_ptr_cast}%
42484248
\begin{itemdecl}
4249-
template<class E> const E* exception_ptr_cast(const exception_ptr& p) noexcept;
4249+
template<class E> constexpr const E* exception_ptr_cast(const exception_ptr& p) noexcept;
42504250
\end{itemdecl}
42514251

42524252
\begin{itemdescr}

0 commit comments

Comments
 (0)