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

Ill-formed example in [range.drop.while.overview] #5897

Merged
merged 2 commits into from Nov 8, 2022

Conversation

huixie90
Copy link
Contributor

@huixie90 huixie90 commented Oct 7, 2022

The example in [range.drop.while.overview] is ill-formed. It attempts to use a const char* as a range, which isn't. The fix simply makes it a const char (&)[N], which is a range

The example in [range.drop.while.overview] is ill-formed. It attempts to use a `const char*` as a `range`, which isn't. The fix simply makes it a `const char (&)[N]`, which is a `range`
source/ranges.tex Outdated Show resolved Hide resolved
Co-authored-by: Casey Carter <cartec69@gmail.com>
@tkoeppe tkoeppe merged commit 0959b5c into cplusplus:main Nov 8, 2022
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.

None yet

3 participants