-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
fmt::to_string/compilation doesn't work with a null string_view #3241
Comments
Specifically, this is about |
I don't think so https://godbolt.org/z/Y6e4oPdPx |
FYI: this is how libc++ does this: https://github.com/llvm/llvm-project/blob/ce5ef7d1d5dc632a1ff35110821a44978e004e5f/libcxx/include/__algorithm/copy.h#L60 |
phprus
added a commit
to phprus/fmt
that referenced
this issue
Dec 23, 2022
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
Merged
vitaut
pushed a commit
that referenced
this issue
Dec 23, 2022
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment you can't fmt a default constructed string_view: https://godbolt.org/z/ddzYqYE99
The text was updated successfully, but these errors were encountered: