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

Remove std::iterator #5

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Conversation

Halbaroth
Copy link
Collaborator

std::iterator have been deprecated in stdc++-17. It seems that the recommended usage to build custom iterators in modern C++ consists in defining type aliases with the directive using (see for instance the tutorial https://www.internalpointers.com/post/writing-custom-iterators-modern-cpp).

@Halbaroth Halbaroth force-pushed the remove-std-iterator branch from 13705d3 to 72789e4 Compare October 14, 2024 14:43
@Halbaroth Halbaroth merged commit 190ea66 into OCamlPro:main Oct 14, 2024
`std::iterator` have been deprecated in stdc++-17. It seems that the
recommended usage to build custom iterators in modern C++ consists in
defining type aliases with the directive `using` (see for instance the
tutorial https://www.internalpointers.com/post/writing-custom-iterators-modern-cpp).
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.

1 participant