locale.h -> format.h

This commit is contained in:
Victor Zverovich 2021-10-14 15:57:10 -07:00
parent febdef43f5
commit f5371a75f4

View File

@ -449,7 +449,7 @@ Using type-specific formatting::
Using the comma as a thousands separator:: Using the comma as a thousands separator::
#include <fmt/locale.h> #include <fmt/format.h>
auto s = fmt::format(std::locale("en_US.UTF-8"), "{:L}", 1234567890); auto s = fmt::format(std::locale("en_US.UTF-8"), "{:L}", 1234567890);
// s == "1,234,567,890" // s == "1,234,567,890"