-
Notifications
You must be signed in to change notification settings - Fork 781
P2442R1 Windowing range adaptors: views::chunk and views::slide #5249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
slide_view
's begin
and end
have descriptions like:
Returns:
- If cond,
a
. - Otherwise,
b
.
IIRC, they are done like this in <algorithm>
:
Returns:
- If cond, returns
a
. - Otherwise, returns
b
.
The latter is certainly clearer. Is this worth pursuing (at this time or otherwise)?
Also applies to https://github.com/cplusplus/draft/pull/5249/files#diff-015716b0f124dba6acb7cdf24285de5d954d0958ca8abbb2ad82a015d1852a9eR11489-R11493 and https://github.com/cplusplus/draft/pull/5249/files#diff-015716b0f124dba6acb7cdf24285de5d954d0958ca8abbb2ad82a015d1852a9eR11592-R11595.
0351517
to
c06b69a
Compare
Thanks for all the fixes! |
3d4ae2a
to
dbc0e91
Compare
- Fix return type in description of chunk_view::inner-iterator::operator++. - Add reference to last_ele_ for ambiguous "if present" phrases
dbc0e91
to
4b1c80d
Compare
Fixes #5271
Fixes cplusplus/papers#1108