Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10953,9 +10953,9 @@
constexpr void pop_back();

template<class... Args>
constexpr pointer try_emplace_back(Args&&... args);
constexpr pointer try_push_back(const T& x);
constexpr pointer try_push_back(T&& x);
constexpr optional<reference> try_emplace_back(Args&&... args);
constexpr optional<reference> try_push_back(const T& x);
constexpr optional<reference> try_push_back(T&& x);
template<@\exposconcept{container-compatible-range}@<T> R>
constexpr ranges::borrowed_iterator_t<R> try_append_range(R&& rg);

Expand Down Expand Up @@ -11262,9 +11262,9 @@
\indexlibrarymember{try_push_back}{inplace_vector}%
\begin{itemdecl}
template<class... Args>
constexpr pointer try_emplace_back(Args&&... args);
constexpr pointer try_push_back(const T& x);
constexpr pointer try_push_back(T&& x);
constexpr optional<reference> try_emplace_back(Args&&... args);
constexpr optional<reference> try_push_back(const T& x);
constexpr optional<reference> try_push_back(T&& x);
\end{itemdecl}

\begin{itemdescr}
Expand All @@ -11290,8 +11290,8 @@

\pnum
\returns
\keyword{nullptr} if \tcode{size() == capacity()} is \tcode{true},
otherwise \tcode{addressof(back())}.
\keyword{nullopt} if \tcode{size() == capacity()} is \tcode{true},
otherwise \tcode{optional<reference>(in_place, back())}.

\pnum
\throws
Expand Down
15 changes: 9 additions & 6 deletions source/support.tex
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@
#define @\defnlibxname{cpp_lib_erase_if}@ 202002L
// also in \libheader{string}, \libheader{deque}, \libheader{forward_list}, \libheader{list}, \libheader{vector}, \libheader{map}, \libheader{set}, \libheader{unordered_map},
// \libheader{unordered_set}
#define @\defnlibxname{cpp_lib_exception_ptr_cast}@ 202506L // also in \libheader{exception}
#define @\defnlibxname{cpp_lib_exception_ptr_cast}@ 202603L // also in \libheader{exception}
#define @\defnlibxname{cpp_lib_exchange_function}@ 201304L // freestanding, also in \libheader{utility}
#define @\defnlibxname{cpp_lib_execution}@ 201902L // also in \libheader{execution}
#define @\defnlibxname{cpp_lib_expected}@ 202211L // also in \libheader{expected}
Expand Down Expand Up @@ -727,7 +727,7 @@
#define @\defnlibxname{cpp_lib_indirect}@ 202502L // also in \libheader{memory}
#define @\defnlibxname{cpp_lib_initializer_list}@ 202511L
// freestanding, also in \libheader{initializer_list}
#define @\defnlibxname{cpp_lib_inplace_vector}@ 202406L // also in \libheader{inplace_vector}
#define @\defnlibxname{cpp_lib_inplace_vector}@ 202603L // also in \libheader{inplace_vector}
#define @\defnlibxname{cpp_lib_int_pow2}@ 202002L // freestanding, also in \libheader{bit}
#define @\defnlibxname{cpp_lib_integer_comparison_functions}@ 202002L // freestanding, also in \libheader{utility}
#define @\defnlibxname{cpp_lib_integer_sequence}@ 202511L // freestanding, also in \libheader{utility}
Expand Down Expand Up @@ -3844,7 +3844,8 @@
constexpr exception_ptr current_exception() noexcept;
[[noreturn]] constexpr void rethrow_exception(exception_ptr p);
template<class E> constexpr exception_ptr make_exception_ptr(E e) noexcept;
template<class E> constexpr const E* exception_ptr_cast(const exception_ptr& p) noexcept;
template<class E>
constexpr optional<const E&> exception_ptr_cast(const exception_ptr& p) noexcept;
template<class E> void exception_ptr_cast(const exception_ptr&&) = delete;

template<class T> [[noreturn]] constexpr void throw_with_nested(T&& t);
Expand Down Expand Up @@ -4225,7 +4226,8 @@

\indexlibraryglobal{exception_ptr_cast}%
\begin{itemdecl}
template<class E> constexpr const E* exception_ptr_cast(const exception_ptr& p) noexcept;
template<class E>
constexpr optional<const E&> exception_ptr_cast(const exception_ptr& p) noexcept;
\end{itemdecl}

\begin{itemdescr}
Expand All @@ -4242,11 +4244,12 @@

\pnum
\returns
A pointer to the exception object referred to by \tcode{p},
An \tcode{optional} containing a reference
to the exception object referred to by \tcode{p},
if \tcode{p} is not null and
a handler of type \tcode{const E\&}
would be a match\iref{except.handle} for that exception object.
Otherwise, \tcode{nullptr}.
Otherwise, \tcode{nullopt}.
\end{itemdescr}

\rSec2[except.nested]{\tcode{nested_exception}}
Expand Down
Loading