Skip to content

Commit 15987c3

Browse files
burblebeetkoeppe
authored andcommitted
[ranges] Change "using Parent" declarations to use "maybe-const" after LWG3448
1 parent 2432aca commit 15987c3

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
@@ -3754,7 +3754,7 @@
37543754
class transform_view<V, F>::@\exposid{iterator}@ {
37553755
private:
37563756
using @\exposid{Parent}@ = // \expos
3757-
conditional_t<Const, const transform_view, transform_view>;
3757+
@\exposid{maybe-const}@<Const, transform_view>;
37583758
using @\exposid{Base}@ = // \expos
37593759
@\exposid{maybe-const}@<Const, V>;
37603760
iterator_t<@\exposid{Base}@> @\exposid{current_}@ = // \expos
@@ -4160,7 +4160,7 @@
41604160
class transform_view<V, F>::@\exposid{sentinel}@ {
41614161
private:
41624162
using @\exposid{Parent}@ = // \expos
4163-
conditional_t<Const, const transform_view, transform_view>;
4163+
@\exposid{maybe-const}@<Const, transform_view>;
41644164
using @\exposid{Base}@ = @\exposid{maybe-const}@<Const, V>; // \expos
41654165
sentinel_t<@\exposid{Base}@> @\exposid{end_}@ = sentinel_t<@\exposid{Base}@>(); // \expos
41664166
public:
@@ -5057,7 +5057,7 @@
50575057
struct join_view<V>::@\exposid{iterator}@ {
50585058
private:
50595059
using @\exposid{Parent}@ = // \expos
5060-
conditional_t<Const, const join_view, join_view>;
5060+
@\exposid{maybe-const}@<Const, join_view>;
50615061
using @\exposid{Base}@ = @\exposid{maybe-const}@<Const, V>; // \expos
50625062

50635063
static constexpr bool @\exposid{ref-is-glvalue}@ = // \expos
@@ -5369,7 +5369,7 @@
53695369
struct join_view<V>::@\exposid{sentinel}@ {
53705370
private:
53715371
using @\exposid{Parent}@ = // \expos
5372-
conditional_t<Const, const join_view, join_view>;
5372+
@\exposid{maybe-const}@<Const, join_view>;
53735373
using @\exposid{Base}@ = @\exposid{maybe-const}@<Const, V>; // \expos
53745374
sentinel_t<@\exposid{Base}@> @\exposid{end_}@ = sentinel_t<@\exposid{Base}@>(); // \expos
53755375
public:
@@ -5568,7 +5568,7 @@
55685568
struct split_view<V, Pattern>::@\exposid{outer-iterator}@ {
55695569
private:
55705570
using @\exposid{Parent}@ = // \expos
5571-
conditional_t<Const, const split_view, split_view>;
5571+
@\exposid{maybe-const}@<Const, split_view>;
55725572
using @\exposid{Base}@ = // \expos
55735573
@\exposid{maybe-const}@<Const, V>;
55745574
@\exposid{Parent}@* @\exposid{parent_}@ = nullptr; // \expos

0 commit comments

Comments
 (0)