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

Issue #3, changes in the operator + of the iterator class #4

Merged
merged 5 commits into from
May 26, 2017
Merged

Issue #3, changes in the operator + of the iterator class #4

merged 5 commits into from
May 26, 2017

Conversation

HenryRLee
Copy link
Contributor

@HenryRLee HenryRLee commented May 26, 2017

This patch includes the following two changes:

  1. Override operator+(difference_type, const ordered_iterator&) which is required in a random access iterator.
  2. Remove operator+(const ordered_iterator& lhs, const ordered_iterator& rhs), which is not a standard operator in iterators.

@Tessil Tessil merged commit 22502db into Tessil:master May 26, 2017
@Tessil
Copy link
Owner

Tessil commented May 26, 2017

Thank you for the correction!

I added some tests (forgot to test this part) and merged the changes.

@HenryRLee
Copy link
Contributor Author

No problem

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