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

iota_view<W,Bound>'s sentinel and iterator do no satisfy SizedSentinel when SizedSentinel<Bound,I> is satisfied #613

Open
ericniebler opened this issue Jan 30, 2019 · 2 comments

Comments

@ericniebler
Copy link
Owner

Perhaps define something like a differenceable concept -- or just used SizedSentinel directly -- and use it to define an operator- friend function in class iota_view::sentinel.

@ericniebler
Copy link
Owner Author

Fixed by p1522.

@frederick-vs-ja
Copy link

frederick-vs-ja commented Oct 1, 2021

Currently operator-s for iterator/sentinel types of iota_view<I1, I2>, where I1 and I2 are different integer types, are not enabled.
Should we also enable these operator-s to improve consistency with iota_view::size?

I've tried to submit an LWG issue (LWG3609) for this. What do you think about it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants