mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-27 21:00:01 +01:00
Improve locale support
This commit is contained in:
@@ -22,6 +22,9 @@ template FMT_API auto locale_ref::get<std::locale>() const -> std::locale;
|
||||
|
||||
// Explicit instantiations for char.
|
||||
|
||||
template FMT_API auto write_int(unsigned long long, locale_ref)
|
||||
-> std::basic_string<char>;
|
||||
|
||||
template FMT_API auto thousands_sep_impl(locale_ref)
|
||||
-> thousands_sep_result<char>;
|
||||
template FMT_API auto decimal_point_impl(locale_ref) -> char;
|
||||
@@ -37,6 +40,9 @@ template FMT_API void vformat_to(buffer<char>&, string_view,
|
||||
|
||||
// Explicit instantiations for wchar_t.
|
||||
|
||||
template FMT_API auto write_int(unsigned long long, locale_ref)
|
||||
-> std::basic_string<wchar_t>;
|
||||
|
||||
template FMT_API auto thousands_sep_impl(locale_ref)
|
||||
-> thousands_sep_result<wchar_t>;
|
||||
template FMT_API auto decimal_point_impl(locale_ref) -> wchar_t;
|
||||
|
||||
Reference in New Issue
Block a user