Skip to content

Commit 607947f

Browse files
committed
[specialized.algorithms] Qualify declarator-id with sub-namespace.
Also qualify return types where necessary.
1 parent b8e9549 commit 607947f

File tree

1 file changed

+66
-94
lines changed

1 file changed

+66
-94
lines changed

source/algorithms.tex

Lines changed: 66 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -10243,14 +10243,12 @@
1024310243

1024410244
\indexlibraryglobal{uninitialized_default_construct}%
1024510245
\begin{itemdecl}
10246-
namespace ranges {
10247-
template<@\placeholdernc{no-throw-forward-iterator}@ I, @\placeholder{no-throw-sentinel-for}@<I> S>
10248-
requires @\libconcept{default_initializable}@<iter_value_t<I>>
10249-
I uninitialized_default_construct(I first, S last);
10250-
template<@\placeholdernc{no-throw-forward-range}@ R>
10251-
requires @\libconcept{default_initializable}@<range_value_t<R>>
10252-
borrowed_iterator_t<R> uninitialized_default_construct(R&& r);
10253-
}
10246+
template<@\placeholdernc{no-throw-forward-iterator}@ I, @\placeholder{no-throw-sentinel-for}@<I> S>
10247+
requires @\libconcept{default_initializable}@<iter_value_t<I>>
10248+
I ranges::uninitialized_default_construct(I first, S last);
10249+
template<@\placeholdernc{no-throw-forward-range}@ R>
10250+
requires @\libconcept{default_initializable}@<range_value_t<R>>
10251+
borrowed_iterator_t<R> ranges::uninitialized_default_construct(R&& r);
1025410252
\end{itemdecl}
1025510253

1025610254
\begin{itemdescr}
@@ -10284,11 +10282,9 @@
1028410282

1028510283
\indexlibraryglobal{uninitialized_default_construct_n}%
1028610284
\begin{itemdecl}
10287-
namespace ranges {
10288-
template<@\placeholdernc{no-throw-forward-iterator}@ I>
10289-
requires @\libconcept{default_initializable}@<iter_value_t<I>>
10290-
I uninitialized_default_construct_n(I first, iter_difference_t<I> n);
10291-
}
10285+
template<@\placeholdernc{no-throw-forward-iterator}@ I>
10286+
requires @\libconcept{default_initializable}@<iter_value_t<I>>
10287+
I ranges::uninitialized_default_construct_n(I first, iter_difference_t<I> n);
1029210288
\end{itemdecl}
1029310289

1029410290
\begin{itemdescr}
@@ -10322,14 +10318,12 @@
1032210318

1032310319
\indexlibraryglobal{uninitialized_value_construct}%
1032410320
\begin{itemdecl}
10325-
namespace ranges {
10326-
template<@\placeholdernc{no-throw-forward-iterator}@ I, @\placeholder{no-throw-sentinel-for}@<I> S>
10327-
requires @\libconcept{default_initializable}@<iter_value_t<I>>
10328-
I uninitialized_value_construct(I first, S last);
10329-
template<@\placeholdernc{no-throw-forward-range}@ R>
10330-
requires @\libconcept{default_initializable}@<range_value_t<R>>
10331-
borrowed_iterator_t<R> uninitialized_value_construct(R&& r);
10332-
}
10321+
template<@\placeholdernc{no-throw-forward-iterator}@ I, @\placeholder{no-throw-sentinel-for}@<I> S>
10322+
requires @\libconcept{default_initializable}@<iter_value_t<I>>
10323+
I ranges::uninitialized_value_construct(I first, S last);
10324+
template<@\placeholdernc{no-throw-forward-range}@ R>
10325+
requires @\libconcept{default_initializable}@<range_value_t<R>>
10326+
borrowed_iterator_t<R> ranges::uninitialized_value_construct(R&& r);
1033310327
\end{itemdecl}
1033410328

1033510329
\begin{itemdescr}
@@ -10363,11 +10357,9 @@
1036310357

1036410358
\indexlibraryglobal{uninitialized_value_construct_n}%
1036510359
\begin{itemdecl}
10366-
namespace ranges {
10367-
template<@\placeholdernc{no-throw-forward-iterator}@ I>
10368-
requires @\libconcept{default_initializable}@<iter_value_t<I>>
10369-
I uninitialized_value_construct_n(I first, iter_difference_t<I> n);
10370-
}
10360+
template<@\placeholdernc{no-throw-forward-iterator}@ I>
10361+
requires @\libconcept{default_initializable}@<iter_value_t<I>>
10362+
I ranges::uninitialized_value_construct_n(I first, iter_difference_t<I> n);
1037110363
\end{itemdecl}
1037210364

1037310365
\begin{itemdescr}
@@ -10410,17 +10402,15 @@
1041010402

1041110403
\indexlibraryglobal{uninitialized_copy}%
1041210404
\begin{itemdecl}
10413-
namespace ranges {
10414-
template<@\libconcept{input_iterator}@ I, @\libconcept{sentinel_for}@<I> S1,
10415-
@\placeholdernc{no-throw-forward-iterator}@ O, @\placeholder{no-throw-sentinel-for}@<O> S2>
10416-
requires @\libconcept{constructible_from}@<iter_value_t<O>, iter_reference_t<I>>
10417-
uninitialized_copy_result<I, O>
10418-
uninitialized_copy(I ifirst, S1 ilast, O ofirst, S2 olast);
10419-
template<@\libconcept{input_range}@ IR, @\placeholdernc{no-throw-forward-range}@ OR>
10420-
requires @\libconcept{constructible_from}@<range_value_t<OR>, range_reference_t<IR>>
10421-
uninitialized_copy_result<borrowed_iterator_t<IR>, borrowed_iterator_t<OR>>
10422-
uninitialized_copy(IR&& in_range, OR&& out_range);
10423-
}
10405+
template<@\libconcept{input_iterator}@ I, @\libconcept{sentinel_for}@<I> S1,
10406+
@\placeholdernc{no-throw-forward-iterator}@ O, @\placeholder{no-throw-sentinel-for}@<O> S2>
10407+
requires @\libconcept{constructible_from}@<iter_value_t<O>, iter_reference_t<I>>
10408+
ranges::uninitialized_copy_result<I, O>
10409+
ranges::uninitialized_copy(I ifirst, S1 ilast, O ofirst, S2 olast);
10410+
template<@\libconcept{input_range}@ IR, @\placeholdernc{no-throw-forward-range}@ OR>
10411+
requires @\libconcept{constructible_from}@<range_value_t<OR>, range_reference_t<IR>>
10412+
ranges::uninitialized_copy_result<borrowed_iterator_t<IR>, borrowed_iterator_t<OR>>
10413+
ranges::uninitialized_copy(IR&& in_range, OR&& out_range);
1042410414
\end{itemdecl}
1042510415

1042610416
\begin{itemdescr}
@@ -10466,12 +10456,10 @@
1046610456

1046710457
\indexlibraryglobal{uninitialized_copy_n}%
1046810458
\begin{itemdecl}
10469-
namespace ranges {
10470-
template<@\libconcept{input_iterator}@ I, @\placeholdernc{no-throw-forward-iterator}@ O, @\placeholder{no-throw-sentinel-for}@<O> S>
10471-
requires @\libconcept{constructible_from}@<iter_value_t<O>, iter_reference_t<I>>
10472-
uninitialized_copy_n_result<I, O>
10473-
uninitialized_copy_n(I ifirst, iter_difference_t<I> n, O ofirst, S olast);
10474-
}
10459+
template<@\libconcept{input_iterator}@ I, @\placeholdernc{no-throw-forward-iterator}@ O, @\placeholder{no-throw-sentinel-for}@<O> S>
10460+
requires @\libconcept{constructible_from}@<iter_value_t<O>, iter_reference_t<I>>
10461+
ranges::uninitialized_copy_n_result<I, O>
10462+
ranges::uninitialized_copy_n(I ifirst, iter_difference_t<I> n, O ofirst, S olast);
1047510463
\end{itemdecl}
1047610464

1047710465
\begin{itemdescr}
@@ -10517,17 +10505,15 @@
1051710505

1051810506
\indexlibraryglobal{uninitialized_move}%
1051910507
\begin{itemdecl}
10520-
namespace ranges {
10521-
template<@\libconcept{input_iterator}@ I, @\libconcept{sentinel_for}@<I> S1,
10522-
@\placeholdernc{no-throw-forward-iterator}@ O, @\placeholder{no-throw-sentinel-for}@<O> S2>
10523-
requires @\libconcept{constructible_from}@<iter_value_t<O>, iter_rvalue_reference_t<I>>
10524-
uninitialized_move_result<I, O>
10525-
uninitialized_move(I ifirst, S1 ilast, O ofirst, S2 olast);
10526-
template<@\libconcept{input_range}@ IR, @\placeholdernc{no-throw-forward-range}@ OR>
10527-
requires @\libconcept{constructible_from}@<range_value_t<OR>, range_rvalue_reference_t<IR>>
10528-
uninitialized_move_result<borrowed_iterator_t<IR>, borrowed_iterator_t<OR>>
10529-
uninitialized_move(IR&& in_range, OR&& out_range);
10530-
}
10508+
template<@\libconcept{input_iterator}@ I, @\libconcept{sentinel_for}@<I> S1,
10509+
@\placeholdernc{no-throw-forward-iterator}@ O, @\placeholder{no-throw-sentinel-for}@<O> S2>
10510+
requires @\libconcept{constructible_from}@<iter_value_t<O>, iter_rvalue_reference_t<I>>
10511+
ranges::uninitialized_move_result<I, O>
10512+
ranges::uninitialized_move(I ifirst, S1 ilast, O ofirst, S2 olast);
10513+
template<@\libconcept{input_range}@ IR, @\placeholdernc{no-throw-forward-range}@ OR>
10514+
requires @\libconcept{constructible_from}@<range_value_t<OR>, range_rvalue_reference_t<IR>>
10515+
ranges::uninitialized_move_result<borrowed_iterator_t<IR>, borrowed_iterator_t<OR>>
10516+
ranges::uninitialized_move(IR&& in_range, OR&& out_range);
1053110517
\end{itemdecl}
1053210518

1053310519
\begin{itemdescr}
@@ -10577,12 +10563,10 @@
1057710563

1057810564
\indexlibraryglobal{uninitialized_move_n}%
1057910565
\begin{itemdecl}
10580-
namespace ranges {
10581-
template<@\libconcept{input_iterator}@ I, @\placeholdernc{no-throw-forward-iterator}@ O, @\placeholder{no-throw-sentinel-for}@<O> S>
10582-
requires @\libconcept{constructible_from}@<iter_value_t<O>, iter_rvalue_reference_t<I>>
10583-
uninitialized_move_n_result<I, O>
10584-
uninitialized_move_n(I ifirst, iter_difference_t<I> n, O ofirst, S olast);
10585-
}
10566+
template<@\libconcept{input_iterator}@ I, @\placeholdernc{no-throw-forward-iterator}@ O, @\placeholder{no-throw-sentinel-for}@<O> S>
10567+
requires @\libconcept{constructible_from}@<iter_value_t<O>, iter_rvalue_reference_t<I>>
10568+
ranges::uninitialized_move_n_result<I, O>
10569+
ranges::uninitialized_move_n(I ifirst, iter_difference_t<I> n, O ofirst, S olast);
1058610570
\end{itemdecl}
1058710571

1058810572
\begin{itemdescr}
@@ -10628,14 +10612,12 @@
1062810612

1062910613
\indexlibraryglobal{uninitialized_fill}%
1063010614
\begin{itemdecl}
10631-
namespace ranges {
10632-
template<@\placeholdernc{no-throw-forward-iterator}@ I, @\placeholder{no-throw-sentinel-for}@<I> S, class T>
10633-
requires @\libconcept{constructible_from}@<iter_value_t<I>, const T&>
10634-
I uninitialized_fill(I first, S last, const T& x);
10635-
template<@\placeholdernc{no-throw-forward-range}@ R, class T>
10636-
requires @\libconcept{constructible_from}@<range_value_t<R>, const T&>
10637-
borrowed_iterator_t<R> uninitialized_fill(R&& r, const T& x);
10638-
}
10615+
template<@\placeholdernc{no-throw-forward-iterator}@ I, @\placeholder{no-throw-sentinel-for}@<I> S, class T>
10616+
requires @\libconcept{constructible_from}@<iter_value_t<I>, const T&>
10617+
I ranges::uninitialized_fill(I first, S last, const T& x);
10618+
template<@\placeholdernc{no-throw-forward-range}@ R, class T>
10619+
requires @\libconcept{constructible_from}@<range_value_t<R>, const T&>
10620+
borrowed_iterator_t<R> ranges::uninitialized_fill(R&& r, const T& x);
1063910621
\end{itemdecl}
1064010622

1064110623
\begin{itemdescr}
@@ -10669,11 +10651,9 @@
1066910651

1067010652
\indexlibraryglobal{uninitialized_fill_n}%
1067110653
\begin{itemdecl}
10672-
namespace ranges {
10673-
template<@\placeholdernc{no-throw-forward-iterator}@ I, class T>
10674-
requires @\libconcept{constructible_from}@<iter_value_t<I>, const T&>
10675-
I uninitialized_fill_n(I first, iter_difference_t<I> n, const T& x);
10676-
}
10654+
template<@\placeholdernc{no-throw-forward-iterator}@ I, class T>
10655+
requires @\libconcept{constructible_from}@<iter_value_t<I>, const T&>
10656+
I ranges::uninitialized_fill_n(I first, iter_difference_t<I> n, const T& x);
1067710657
\end{itemdecl}
1067810658

1067910659
\begin{itemdescr}
@@ -10692,10 +10672,8 @@
1069210672
template<class T, class... Args>
1069310673
constexpr T* construct_at(T* location, Args&&... args);
1069410674

10695-
namespace ranges {
10696-
template<class T, class... Args>
10697-
constexpr T* construct_at(T* location, Args&&... args);
10698-
}
10675+
template<class T, class... Args>
10676+
constexpr T* ranges::construct_at(T* location, Args&&... args);
1069910677
\end{itemdecl}
1070010678

1070110679
\begin{itemdescr}
@@ -10718,10 +10696,8 @@
1071810696
\begin{itemdecl}
1071910697
template<class T>
1072010698
constexpr void destroy_at(T* location);
10721-
namespace ranges {
10722-
template<@\libconcept{destructible}@ T>
10723-
constexpr void destroy_at(T* location) noexcept;
10724-
}
10699+
template<@\libconcept{destructible}@ T>
10700+
constexpr void ranges::destroy_at(T* location) noexcept;
1072510701
\end{itemdecl}
1072610702

1072710703
\begin{itemdescr}
@@ -10753,14 +10729,12 @@
1075310729

1075410730
\indexlibraryglobal{destroy}%
1075510731
\begin{itemdecl}
10756-
namespace ranges {
10757-
template<@\placeholdernc{no-throw-input-iterator}@ I, @\placeholder{no-throw-sentinel-for}@<I> S>
10758-
requires @\libconcept{destructible}@<iter_value_t<I>>
10759-
constexpr I destroy(I first, S last) noexcept;
10760-
template<@\placeholdernc{no-throw-input-range}@ R>
10761-
requires @\libconcept{destructible}@<range_value_t<R>>
10762-
constexpr borrowed_iterator_t<R> destroy(R&& r) noexcept;
10763-
}
10732+
template<@\placeholdernc{no-throw-input-iterator}@ I, @\placeholder{no-throw-sentinel-for}@<I> S>
10733+
requires @\libconcept{destructible}@<iter_value_t<I>>
10734+
constexpr I ranges::destroy(I first, S last) noexcept;
10735+
template<@\placeholdernc{no-throw-input-range}@ R>
10736+
requires @\libconcept{destructible}@<range_value_t<R>>
10737+
constexpr borrowed_iterator_t<R> ranges::destroy(R&& r) noexcept;
1076410738
\end{itemdecl}
1076510739

1076610740
\begin{itemdescr}
@@ -10793,11 +10767,9 @@
1079310767

1079410768
\indexlibraryglobal{destroy_n}%
1079510769
\begin{itemdecl}
10796-
namespace ranges {
10797-
template<@\placeholdernc{no-throw-input-iterator}@ I>
10798-
requires @\libconcept{destructible}@<iter_value_t<I>>
10799-
constexpr I destroy_n(I first, iter_difference_t<I> n) noexcept;
10800-
}
10770+
template<@\placeholdernc{no-throw-input-iterator}@ I>
10771+
requires @\libconcept{destructible}@<iter_value_t<I>>
10772+
constexpr I ranges::destroy_n(I first, iter_difference_t<I> n) noexcept;
1080110773
\end{itemdecl}
1080210774

1080310775
\begin{itemdescr}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy