We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(https://godbolt.org/z/P8szrvdbE)
format no longer works with dynamic strings due to consteval with c++20 and c++2b
I suggest a version should be provided which is runtime evaluated, for use for example where the string is a template read from a file
The text was updated successfully, but these errors were encountered:
You can pass a dynamic (runtime) string by passing it in fmt::runtime (https://godbolt.org/z/5n33h66fW):
fmt::runtime
std::string dynamic = "Hello there!"; fmt::format(fmt::runtime(dynamic));
Quoting the documentation (https://fmt.dev/latest/api.html):
To pass a runtime format string wrap it in fmt::runtime().
Sorry, something went wrong.
No branches or pull requests
(https://godbolt.org/z/P8szrvdbE)
format no longer works with dynamic strings due to consteval with c++20 and c++2b
I suggest a version should be provided which is runtime evaluated, for use for example where the string is a template read from a file
The text was updated successfully, but these errors were encountered: