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
41 changes: 0 additions & 41 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10956,8 +10956,6 @@
constexpr pointer try_emplace_back(Args&&... args);
constexpr pointer try_push_back(const T& x);
constexpr pointer try_push_back(T&& x);
template<@\exposconcept{container-compatible-range}@<T> R>
constexpr ranges::borrowed_iterator_t<R> try_append_range(R&& rg);

template<class... Args>
constexpr reference unchecked_emplace_back(Args&&... args);
Expand Down Expand Up @@ -11306,45 +11304,6 @@
If an exception is thrown, there are no effects on \tcode{*this}.
\end{itemdescr}

\indexlibrarymember{try_append_range}{inplace_vector}%
\begin{itemdecl}
template<@\exposconcept{container-compatible-range}@<T> R>
constexpr ranges::borrowed_iterator_t<R> try_append_range(R&& rg);
\end{itemdecl}

\begin{itemdescr}
\pnum
\expects
\tcode{value_type} is \oldconcept{EmplaceConstructible}
into \tcode{inplace_vector} from\\\tcode{*ranges::begin(rg)}.

\pnum
\effects
Appends copies of initial elements in \tcode{rg} before \tcode{end()},
until all elements are inserted or \tcode{size() == capacity()} is \tcode{true}.
Each iterator in the range \tcode{rg} is dereferenced at most once.

\pnum
\returns
The first iterator in the range
\countedrange{ranges::begin(rg)}{n}
that was not inserted into \tcode{*this},
where \tcode{n} is the number of elements in \tcode{rg}.

\pnum
\complexity
Linear in the number of elements inserted.

\pnum
\remarks
Let $n$ be the value of \tcode{size()} prior to this call.
If an exception is thrown after the insertion of $k$ elements, then
\tcode{size()} equals $n + k$,
elements in the range \tcode{begin() + \range{0}{$n$}} are not modified, and
elements in the range \tcode{begin() + \range{$n$}{$n + k$}} correspond to
the inserted elements.
\end{itemdescr}

\indexlibrarymember{unchecked_emplace_back}{inplace_vector}%
\begin{itemdecl}
template<class... Args>
Expand Down
2 changes: 1 addition & 1 deletion source/support.tex
Original file line number Diff line number Diff line change
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
Loading