Skip to content

Commit 9b16f95

Browse files
committed
fixup: formatting
1 parent 6bca2af commit 9b16f95

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

source/ranges.tex

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257

258258
namespace views { inline constexpr @\unspec@ join = @\unspec@; }
259259

260-
// \ref{range.lazy.split}, split view
260+
// \ref{range.lazy.split}, lazy split view
261261
template<class R>
262262
concept @\exposconcept{tiny-range}@ = @\seebelow@; // \expos
263263

@@ -267,6 +267,7 @@
267267
(@\libconcept{forward_range}@<V> || @\exposconcept{tiny-range}@<Pattern>)
268268
class lazy_split_view;
269269

270+
// \ref{range.split}, split view
270271
template<@\libconcept{forward_range}@ V, @\libconcept{forward_range}@ Pattern>
271272
requires @\libconcept{view}@<V> && @\libconcept{view}@<Pattern> &&
272273
@\libconcept{indirectly_comparable}@<iterator_t<V>, iterator_t<Pattern>, ranges::equal_to>
@@ -5524,7 +5525,6 @@
55245525
V @\exposid{base_}@ = V(); // \expos
55255526
Pattern @\exposid{pattern_}@ = Pattern(); // \expos
55265527
iterator_t<V> @\exposid{current_}@ = iterator_t<V>(); // \expos, present only if \tcode{!\libconcept{forward_range}<V>}
5527-
bool @\exposid{trailing_empty_}@ = false; // \expos
55285528
// \ref{range.lazy.split.outer}, class template \tcode{lazy_split_view::\exposid{outer-iterator}}
55295529
template<bool> struct @\exposid{outer-iterator}@; // \expos
55305530
// \ref{range.lazy.split.inner}, class template \tcode{lazy_split_view::\exposid{inner-iterator}}
@@ -5575,7 +5575,7 @@
55755575
}
55765576
\end{codeblock}
55775577

5578-
\indexlibraryctor{split_view}%
5578+
\indexlibraryctor{lazy_split_view}%
55795579
\begin{itemdecl}
55805580
constexpr lazy_split_view(V base, Pattern pattern);
55815581
\end{itemdecl}
@@ -5618,6 +5618,7 @@
56185618
using @\exposid{Base}@ = @\exposid{maybe-const}@<Const, V>; // \expos
56195619
@\exposid{Parent}@* @\exposid{parent_}@ = nullptr; // \expos
56205620
iterator_t<@\exposid{Base}@> @\exposid{current_}@ = iterator_t<@\exposid{Base}@>(); // \expos, present only if \tcode{V} models \libconcept{forward_range}
5621+
bool @\exposid{trailing_empty_}@ = false; // \expos
56215622

56225623
public:
56235624
using iterator_concept =
@@ -5761,7 +5762,7 @@
57615762
\effects
57625763
Equivalent to:
57635764
\begin{codeblock}
5764-
return x.@\exposid{current_}@ == y.@\exposid{current_}@ && x.@\exposid{trailing_empty_}@ == y.@\exposid{trailing_empty_}@
5765+
return x.@\exposid{current_}@ == y.@\exposid{current_}@ && x.@\exposid{trailing_empty_}@ == y.@\exposid{trailing_empty_}@;
57655766
\end{codeblock}
57665767
\end{itemdescr}
57675768

@@ -6148,7 +6149,7 @@
61486149
\end{itemdescr}
61496150

61506151
\begin{itemdecl}
6151-
constexpr subrange<iterator_t<V>> @\exposid{find-next}(iterator_t<V> it); // \expos
6152+
constexpr subrange<iterator_t<V>> @\exposid{find-next}@(iterator_t<V> it); // \expos
61526153
\end{itemdecl}
61536154

61546155
\begin{itemdescr}
@@ -6165,7 +6166,7 @@
61656166
\end{codeblock}
61666167
\end{itemdescr}
61676168

6168-
\rSec3[range.split.iterator]{Class template \tcode{split_view::\exposid{iterator}}}
6169+
\rSec3[range.split.iterator]{Class \tcode{split_view::\exposid{iterator}}}
61696170

61706171
\begin{codeblock}
61716172
namespace std::ranges {
@@ -6194,7 +6195,7 @@
61946195
constexpr @\exposid{iterator}@& operator++();
61956196
constexpr @\exposid{iterator}@ operator++(int);
61966197

6197-
friend constexpr bool operator==(const @\exposid{iterator}@& x, const @\exposid{iterator}@& y)
6198+
friend constexpr bool operator==(const @\exposid{iterator}@& x, const @\exposid{iterator}@& y);
61986199
};
61996200
}
62006201
\end{codeblock}
@@ -6272,7 +6273,7 @@
62726273
\end{itemdescr}
62736274

62746275
\begin{itemdecl}
6275-
friend constexpr bool operator==(const @\exposid{iterator}@& x, const @\exposid{iterator}@& y)
6276+
friend constexpr bool operator==(const @\exposid{iterator}@& x, const @\exposid{iterator}@& y);
62766277
\end{itemdecl}
62776278

62786279
\begin{itemdescr}
@@ -6284,7 +6285,7 @@
62846285
\end{codeblock}
62856286
\end{itemdescr}
62866287

6287-
\rSec3[range.split.sentinel]{Class template \tcode{split_view::\exposid{sentinel}}}
6288+
\rSec3[range.split.sentinel]{Class \tcode{split_view::\exposid{sentinel}}}
62886289

62896290
\begin{codeblock}
62906291
namespace std::ranges {
@@ -6305,7 +6306,7 @@
63056306
\end{codeblock}
63066307

63076308
\begin{itemdecl}
6308-
constexpr explicit sentinel(split_view& parent);
6309+
constexpr explicit @\exposid{sentinel}@(split_view& parent);
63096310
\end{itemdecl}
63106311

63116312
\begin{itemdescr}
@@ -6315,7 +6316,7 @@
63156316
\end{itemdescr}
63166317

63176318
\begin{itemdecl}
6318-
friend constexpr bool operator==(const iterator& x, const sentinel& y);
6319+
friend constexpr bool operator==(const @\exposid{iterator}@& x, const @\exposid{sentinel}@& y);
63196320
\end{itemdecl}
63206321

63216322
\begin{itemdescr}

0 commit comments

Comments
 (0)