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 an example that got broken by P2499R0 #6041

Merged
merged 1 commit into from Mar 12, 2023
Merged

Conversation

dangelog
Copy link
Contributor

After P2499R0 it is no longer possible to implicitly construct a string_view out of a range (like the ones produced by views::split). Use explicit construction instead.

Fixes #6017

source/ranges.tex Outdated Show resolved Hide resolved
@dangelog
Copy link
Contributor Author

Do I need to do some further change?

@tkoeppe
Copy link
Contributor

tkoeppe commented Jan 19, 2023

Can you please update the commit message according to https://github.com/cplusplus/draft/wiki/Commit-message-format#editorial-commits?

…ng_view in the example

After P2499R0 it is no longer possible to implicitly construct a
string_view out of a range (like the ones produced by views::split).
As a solution, use explicit construction instead.

This is purely editorial, as it affects only the example code.

Fixes cplusplus#6017
@jensmaurer
Copy link
Member

@tkoeppe, looks like this is ready now.

@tkoeppe tkoeppe merged commit 71c72b2 into cplusplus:main Mar 12, 2023
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.

[range.split] The example does not work after P2499R0
6 participants