Skip to content

Commit 8187cc1

Browse files
hewillktkoeppe
authored andcommitted
[range.concat.view] Use \exposid for is-const
1 parent 7c35cb0 commit 8187cc1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/ranges.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8658,12 +8658,12 @@
86588658
\begin{itemdescr}
86598659
\pnum
86608660
\effects
8661-
Let \tcode{is-const} be
8661+
Let \exposid{is-const} be
86628662
\tcode{true} for the const-qualified overload, and
86638663
\tcode{false} otherwise.
86648664
Equivalent to:
86658665
\begin{codeblock}
8666-
@\exposid{iterator}@<is-const> it(this, in_place_index<0>, ranges::begin(std::get<0>(@\exposid{views_}@)));
8666+
@\exposid{iterator}@<@\exposid{is-const}@> it(this, in_place_index<0>, ranges::begin(std::get<0>(@\exposid{views_}@)));
86678667
it.template @\exposid{satisfy}@<0>();
86688668
return it;
86698669
\end{codeblock}
@@ -8679,14 +8679,14 @@
86798679
\begin{itemdescr}
86808680
\pnum
86818681
\effects
8682-
Let \tcode{is-const} be
8682+
Let \exposid{is-const} be
86838683
\tcode{true} for the const-qualified overload, and
86848684
\tcode{false} otherwise.
86858685
Equivalent to:
86868686
\begin{codeblock}
86878687
constexpr auto N = sizeof...(Views);
8688-
if constexpr (@\libconcept{common_range}@<@\exposid{maybe-const}@<is-const, Views...[N - 1]>>) {
8689-
return @\exposid{iterator}@<is-const>(this, in_place_index<N - 1>,
8688+
if constexpr (@\libconcept{common_range}@<@\exposid{maybe-const}@<@\exposid{is-const}@, Views...[N - 1]>>) {
8689+
return @\exposid{iterator}@<@\exposid{is-const}@>(this, in_place_index<N - 1>,
86908690
ranges::end(std::get<N - 1>(@\exposid{views_}@)));
86918691
} else {
86928692
return default_sentinel;

0 commit comments

Comments
 (0)