-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
<string_view>: basic_string_view::copy() mistakenly marked constexpr before C++20 P1032R1 #203
Comments
StephanTLavavej
changed the title
string_view::copy mistakenly marked constexpr before p1032r1
<string_view>: basic_string_view::copy() mistakenly marked constexpr before C++20 P1032R1
Oct 24, 2019
Great catch! We should define Lines 445 to 450 in 447f879
and use it in both Lines 1320 to 1335 in 447f879
|
Our own _Copy_s we can make constexpr if we want in 17 mode. |
This was referenced Dec 10, 2019
Merged
StephanTLavavej
added
fixed
Something works now, yay!
and removed
work in progress
labels
May 23, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
During implementation #50 i found that string_view::copy mistakenly marked constexpr before p1032r1
Command-line test case
I guess all versions with string_view support:
Expected behavior
Something like this
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: