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

fix const reference return by iterator #68

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

firedtoad
Copy link

No description provided.

@Tessil
Copy link
Owner

Tessil commented Mar 17, 2024

Casting std::pair<T, U> to std::pair<const T, U> is not a defined behaviour https://stackoverflow.com/questions/14272141/is-casting-stdpairt1-t2-const-to-stdpairt1-const-t2-const-safe

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.

2 participants