Skip to content

Commit c1182ca

Browse files
authored
Merge 2019-11 LWG Motion 11
P1456R1 Move-only views
2 parents 2d2c112 + 6d9db6a commit c1182ca

File tree

2 files changed

+109
-119
lines changed

2 files changed

+109
-119
lines changed

papers/nxxxx.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,26 @@ CWG motion 2: [P1234R5 "Paper name"](http://wg21.link/p1234r5), resolving 3 NB c
4343

4444
...
4545

46+
### LWG motion 11
47+
48+
The description of this paper specifies that:
49+
50+
> each such `base()` member [of a range adaptor, that returns a copy of the underlying view]
51+
> be replaced to by two overloads:
52+
> a `const`-qualified overload that requires the type of the underlying view to model CopyConstructible, and
53+
> a `&&`-qualified overload that extracts the underlying view from the adaptor
54+
55+
but the wording changes omitted explicit editing instructions
56+
to make these changes to the
57+
`take_while_view`, `drop_view`, `drop_while_view` and `elements_view`
58+
range adaptors, which were added by [P1035R7](http://wg21.link/p1035r7)
59+
(2019-07 LWG Motion 23), after R0 of this paper was authored.
60+
61+
Consistent with the proposal in the paper,
62+
and after consulting the paper authors and the LWG chair,
63+
the corresponding changes were also applied to
64+
the additional range adaptors listed above.
65+
4666
## Feature test macros
4767

4868
The feature test macro `__cpp_nontype_template_parameter_class` has been removed

0 commit comments

Comments
 (0)