UdlArg -> udl_arg

This commit is contained in:
Victor Zverovich 2017-11-19 08:02:07 -08:00
parent c523dd584f
commit 692b82d32c

View File

@ -3960,7 +3960,7 @@ struct udl_formatter {
# endif // FMT_UDL_TEMPLATE # endif // FMT_UDL_TEMPLATE
template <typename Char> template <typename Char>
struct UdlArg { struct udl_arg {
const Char *str; const Char *str;
template <typename T> template <typename T>
@ -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); print("Elapsed time: {s:.2f} seconds", "s"_a=1.23);
\endrst \endrst
*/ */
inline internal::UdlArg<char> inline internal::udl_arg<char>
operator"" _a(const char *s, std::size_t) { return {s}; } operator"" _a(const char *s, std::size_t) { return {s}; }
inline internal::UdlArg<wchar_t> inline internal::udl_arg<wchar_t>
operator"" _a(const wchar_t *s, std::size_t) { return {s}; } operator"" _a(const wchar_t *s, std::size_t) { return {s}; }
} // inline namespace literals } // inline namespace literals
} // namespace fmt } // namespace fmt