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 tag is "random access" but doesn't satisfy random access concept #30

Closed
Crzyrndm opened this issue Oct 16, 2023 · 0 comments · Fixed by #31
Closed

Iterator tag is "random access" but doesn't satisfy random access concept #30

Crzyrndm opened this issue Oct 16, 2023 · 0 comments · Fixed by #31

Comments

@Crzyrndm
Copy link
Contributor

Crzyrndm commented Oct 16, 2023

Godbolt. The operator[] definition is missing

Concept definition: https://en.cppreference.com/w/cpp/iterator/random_access_iterator

iterator marked with RA Iterator category tag

Found this while porting some code from SFINAE to concepts. Minor hiccup

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 a pull request may close this issue.

1 participant