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

to_chars_opt must treat 'last' parameter as exclusive #28

Closed
malachib opened this issue Feb 16, 2024 · 0 comments
Closed

to_chars_opt must treat 'last' parameter as exclusive #28

malachib opened this issue Feb 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@malachib
Copy link
Contributor

Presently last is considered a valid place to place data, which is incorrect.

"[first, last)"

https://en.cppreference.com/w/cpp/utility/to_chars
https://en.cppreference.com/w/cpp/iterator#Ranges

This might apply to regular to_chars also. Doublecheck.

@malachib malachib added the bug Something isn't working label Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant