diff --git a/include/fmt/format.h b/include/fmt/format.h index 729d2752..984c0122 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3960,7 +3960,7 @@ struct udl_formatter { # endif // FMT_UDL_TEMPLATE template -struct UdlArg { +struct udl_arg { const Char *str; template @@ -4005,9 +4005,9 @@ operator"" _format(const wchar_t *s, std::size_t) { return {s}; } print("Elapsed time: {s:.2f} seconds", "s"_a=1.23); \endrst */ -inline internal::UdlArg +inline internal::udl_arg operator"" _a(const char *s, std::size_t) { return {s}; } -inline internal::UdlArg +inline internal::udl_arg operator"" _a(const wchar_t *s, std::size_t) { return {s}; } } // inline namespace literals } // namespace fmt