Skip to content
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

[iterator.synopsis] Cleanups #3905

Merged
merged 3 commits into from Apr 13, 2020
Merged

Conversation

CaseyCarter
Copy link
Contributor

@CaseyCarter CaseyCarter commented Mar 25, 2020

Three commits with related changes:

  • Change the declaration of move_iterator's non-member operator+ in [iterator.synopsis] to agree with the redeclaration in [move.iter.nonmember] which was changed by P0896R4.
  • Fix the formatting of the declaration of move_iterator's non-member operator- in [iterator.synopsis], and harmonize the formatting of the redeclaration in [move.iter.nonmember].
  • Use iter_difference_t in the declaration of reverse_iterator's non-member operator+ to harmonize with the style of move_iterator.

…ith [move.iter.nonmember]

P0896R4 changed the declaration in [move.iter.nonmember], but failed to update the header synopsis.
…verse_iterator's non-member operator+

...with iter_difference_t to harmonize with the style of move_iterator.
@CaseyCarter CaseyCarter changed the title Move iter fix [iterator.synopsis] Cleanups Mar 25, 2020
@jensmaurer jensmaurer merged commit 7eab560 into cplusplus:master Apr 13, 2020
@CaseyCarter CaseyCarter deleted the move_iter_fix branch April 13, 2020 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants