Skip to content

Commit 70232d0

Browse files
committed
P3748R0 Inspecting exception_ptr should be constexpr
1 parent b6f1743 commit 70232d0

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
@@ -3869,7 +3869,7 @@
38693869
constexpr exception_ptr current_exception() noexcept;
38703870
[[noreturn]] constexpr void rethrow_exception(exception_ptr p);
38713871
template<class E> constexpr exception_ptr make_exception_ptr(E e) noexcept;
3872-
template<class E> const E* exception_ptr_cast(const exception_ptr& p) noexcept;
3872+
template<class E> constexpr const E* exception_ptr_cast(const exception_ptr& p) noexcept;
38733873
template<class E> void exception_ptr_cast(const exception_ptr&&) = delete;
38743874

38753875
template<class T> [[noreturn]] constexpr void throw_with_nested(T&& t);
@@ -4250,7 +4250,7 @@
42504250

42514251
\indexlibraryglobal{exception_ptr_cast}%
42524252
\begin{itemdecl}
4253-
template<class E> const E* exception_ptr_cast(const exception_ptr& p) noexcept;
4253+
template<class E> constexpr const E* exception_ptr_cast(const exception_ptr& p) noexcept;
42544254
\end{itemdecl}
42554255

42564256
\begin{itemdescr}

0 commit comments

Comments
 (0)