With trunk GCC and -std=c++2c :
#include <fmt/compile.h>
using namespace fmt::literals;
int main() {
fmt::print(""_cf);
}
does not compile with trunk fmt but does with 10.2.1:
https://gcc.godbolt.org/z/4WsvGP6bs
|
#elif FMT_GCC_VERSION >= 903 && FMT_CPLUSPLUS >= 201709L |
|
# define FMT_USE_NONTYPE_TEMPLATE_ARGS 0 |
looks suspicious.
With trunk GCC and
-std=c++2c:does not compile with trunk fmt but does with 10.2.1:
https://gcc.godbolt.org/z/4WsvGP6bs
fmt/include/fmt/base.h
Lines 143 to 144 in aa52eb7