You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifying a named argument in the format string but not providing a value does not result in a compilation error on recent GCC and Clang versions when the format string is compiled using FMT_COMPILE.
This is the case both when the argument is missing altogether (1) and when it is present but no value is assigned (2).
When the FMT_COMPILE macro is removed, both fmt::format calls result in compilation errors.
Specifying a named argument in the format string but not providing a value does not result in a compilation error on recent GCC and Clang versions when the format string is compiled using
FMT_COMPILE
.This is the case both when the argument is missing altogether (1) and when it is present but no value is assigned (2).
When the
FMT_COMPILE
macro is removed, bothfmt::format
calls result in compilation errors.On Compiler Explorer: https://godbolt.org/z/4zGrofeoE
The text was updated successfully, but these errors were encountered: