Skip to content

Commit f074e2f

Browse files
committed
P4022R0 Remove try_append_range from inplace_vector for now
1 parent b536020 commit f074e2f

File tree

2 files changed

+1
-42
lines changed

2 files changed

+1
-42
lines changed

source/containers.tex

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -10956,8 +10956,6 @@
1095610956
constexpr pointer try_emplace_back(Args&&... args);
1095710957
constexpr pointer try_push_back(const T& x);
1095810958
constexpr pointer try_push_back(T&& x);
10959-
template<@\exposconcept{container-compatible-range}@<T> R>
10960-
constexpr ranges::borrowed_iterator_t<R> try_append_range(R&& rg);
1096110959

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

11309-
\indexlibrarymember{try_append_range}{inplace_vector}%
11310-
\begin{itemdecl}
11311-
template<@\exposconcept{container-compatible-range}@<T> R>
11312-
constexpr ranges::borrowed_iterator_t<R> try_append_range(R&& rg);
11313-
\end{itemdecl}
11314-
11315-
\begin{itemdescr}
11316-
\pnum
11317-
\expects
11318-
\tcode{value_type} is \oldconcept{EmplaceConstructible}
11319-
into \tcode{inplace_vector} from\\\tcode{*ranges::begin(rg)}.
11320-
11321-
\pnum
11322-
\effects
11323-
Appends copies of initial elements in \tcode{rg} before \tcode{end()},
11324-
until all elements are inserted or \tcode{size() == capacity()} is \tcode{true}.
11325-
Each iterator in the range \tcode{rg} is dereferenced at most once.
11326-
11327-
\pnum
11328-
\returns
11329-
The first iterator in the range
11330-
\countedrange{ranges::begin(rg)}{n}
11331-
that was not inserted into \tcode{*this},
11332-
where \tcode{n} is the number of elements in \tcode{rg}.
11333-
11334-
\pnum
11335-
\complexity
11336-
Linear in the number of elements inserted.
11337-
11338-
\pnum
11339-
\remarks
11340-
Let $n$ be the value of \tcode{size()} prior to this call.
11341-
If an exception is thrown after the insertion of $k$ elements, then
11342-
\tcode{size()} equals $n + k$,
11343-
elements in the range \tcode{begin() + \range{0}{$n$}} are not modified, and
11344-
elements in the range \tcode{begin() + \range{$n$}{$n + k$}} correspond to
11345-
the inserted elements.
11346-
\end{itemdescr}
11347-
1134811307
\indexlibrarymember{unchecked_emplace_back}{inplace_vector}%
1134911308
\begin{itemdecl}
1135011309
template<class... Args>

source/support.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@
727727
#define @\defnlibxname{cpp_lib_indirect}@ 202502L // also in \libheader{memory}
728728
#define @\defnlibxname{cpp_lib_initializer_list}@ 202511L
729729
// freestanding, also in \libheader{initializer_list}
730-
#define @\defnlibxname{cpp_lib_inplace_vector}@ 202406L // also in \libheader{inplace_vector}
730+
#define @\defnlibxname{cpp_lib_inplace_vector}@ 202603L // also in \libheader{inplace_vector}
731731
#define @\defnlibxname{cpp_lib_int_pow2}@ 202002L // freestanding, also in \libheader{bit}
732732
#define @\defnlibxname{cpp_lib_integer_comparison_functions}@ 202002L // freestanding, also in \libheader{utility}
733733
#define @\defnlibxname{cpp_lib_integer_sequence}@ 202511L // freestanding, also in \libheader{utility}

0 commit comments

Comments
 (0)