Skip to content

Commit 60b5098

Browse files
burblebeetkoeppe
authored andcommitted
[ranges] Improve indentation around "using Base" and "using Parent" declarations
1 parent 15987c3 commit 60b5098

File tree

1 file changed

+12
-21
lines changed

1 file changed

+12
-21
lines changed

source/ranges.tex

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3753,13 +3753,10 @@
37533753
template<bool Const>
37543754
class transform_view<V, F>::@\exposid{iterator}@ {
37553755
private:
3756-
using @\exposid{Parent}@ = // \expos
3757-
@\exposid{maybe-const}@<Const, transform_view>;
3758-
using @\exposid{Base}@ = // \expos
3759-
@\exposid{maybe-const}@<Const, V>;
3760-
iterator_t<@\exposid{Base}@> @\exposid{current_}@ = // \expos
3761-
iterator_t<@\exposid{Base}@>();
3762-
@\exposid{Parent}@* @\exposid{parent_}@ = nullptr; // \expos
3756+
using @\exposid{Parent}@ = @\exposid{maybe-const}@<Const, transform_view>; // \expos
3757+
using @\exposid{Base}@ = @\exposid{maybe-const}@<Const, V>; // \expos
3758+
iterator_t<@\exposid{Base}@> @\exposid{current_}@ = iterator_t<@\exposid{Base}@>(); // \expos
3759+
@\exposid{Parent}@* @\exposid{parent_}@ = nullptr; // \expos
37633760
public:
37643761
using iterator_concept = @\seebelow@;
37653762
using iterator_category = @\seebelow@;
@@ -4159,8 +4156,7 @@
41594156
template<bool Const>
41604157
class transform_view<V, F>::@\exposid{sentinel}@ {
41614158
private:
4162-
using @\exposid{Parent}@ = // \expos
4163-
@\exposid{maybe-const}@<Const, transform_view>;
4159+
using @\exposid{Parent}@ = @\exposid{maybe-const}@<Const, transform_view>; // \expos
41644160
using @\exposid{Base}@ = @\exposid{maybe-const}@<Const, V>; // \expos
41654161
sentinel_t<@\exposid{Base}@> @\exposid{end_}@ = sentinel_t<@\exposid{Base}@>(); // \expos
41664162
public:
@@ -5056,8 +5052,7 @@
50565052
template<bool Const>
50575053
struct join_view<V>::@\exposid{iterator}@ {
50585054
private:
5059-
using @\exposid{Parent}@ = // \expos
5060-
@\exposid{maybe-const}@<Const, join_view>;
5055+
using @\exposid{Parent}@ = @\exposid{maybe-const}@<Const, join_view>; // \expos
50615056
using @\exposid{Base}@ = @\exposid{maybe-const}@<Const, V>; // \expos
50625057

50635058
static constexpr bool @\exposid{ref-is-glvalue}@ = // \expos
@@ -5368,9 +5363,8 @@
53685363
template<bool Const>
53695364
struct join_view<V>::@\exposid{sentinel}@ {
53705365
private:
5371-
using @\exposid{Parent}@ = // \expos
5372-
@\exposid{maybe-const}@<Const, join_view>;
5373-
using @\exposid{Base}@ = @\exposid{maybe-const}@<Const, V>; // \expos
5366+
using @\exposid{Parent}@ = @\exposid{maybe-const}@<Const, join_view>; // \expos
5367+
using @\exposid{Base}@ = @\exposid{maybe-const}@<Const, V>; // \expos
53745368
sentinel_t<@\exposid{Base}@> @\exposid{end_}@ = sentinel_t<@\exposid{Base}@>(); // \expos
53755369
public:
53765370
@\exposid{sentinel}@() = default;
@@ -5567,13 +5561,10 @@
55675561
template<bool Const>
55685562
struct split_view<V, Pattern>::@\exposid{outer-iterator}@ {
55695563
private:
5570-
using @\exposid{Parent}@ = // \expos
5571-
@\exposid{maybe-const}@<Const, split_view>;
5572-
using @\exposid{Base}@ = // \expos
5573-
@\exposid{maybe-const}@<Const, V>;
5574-
@\exposid{Parent}@* @\exposid{parent_}@ = nullptr; // \expos
5575-
iterator_t<@\exposid{Base}@> @\exposid{current_}@ = // \expos, present only if \tcode{V} models \libconcept{forward_range}
5576-
iterator_t<@\exposid{Base}@>();
5564+
using @\exposid{Parent}@ = @\exposid{maybe-const}@<Const, split_view>; // \expos
5565+
using @\exposid{Base}@ = @\exposid{maybe-const}@<Const, V>; // \expos
5566+
@\exposid{Parent}@* @\exposid{parent_}@ = nullptr; // \expos
5567+
iterator_t<@\exposid{Base}@> @\exposid{current_}@ = iterator_t<@\exposid{Base}@>(); // \expos, present only if \tcode{V} models \libconcept{forward_range}
55775568

55785569
public:
55795570
using iterator_concept =

0 commit comments

Comments
 (0)