diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-10-11 13:02:11 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-10-11 13:02:11 +0200 |
| commit | e549e11aa8e69cf49c73ec56bd4c807bc18e902a (patch) | |
| tree | dbd7978aeed6ad8ebc2bb217fe9914b259aea33d /dep/fmt/src/format.cc | |
| parent | 2b38f40988d0e0fab5b86ba82812e79681c77363 (diff) | |
Dep/fmt: Update to 12.0.0
Diffstat (limited to 'dep/fmt/src/format.cc')
| -rw-r--r-- | dep/fmt/src/format.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dep/fmt/src/format.cc b/dep/fmt/src/format.cc index 391d3a248c2..05d0105bc4e 100644 --- a/dep/fmt/src/format.cc +++ b/dep/fmt/src/format.cc @@ -8,6 +8,12 @@ #include "fmt/format-inl.h" FMT_BEGIN_NAMESPACE + +#if FMT_USE_LOCALE +template FMT_API locale_ref::locale_ref(const std::locale& loc); +template FMT_API auto locale_ref::get<std::locale>() const -> std::locale; +#endif + namespace detail { template FMT_API auto dragonbox::to_decimal(float x) noexcept @@ -15,28 +21,22 @@ template FMT_API auto dragonbox::to_decimal(float x) noexcept template FMT_API auto dragonbox::to_decimal(double x) noexcept -> dragonbox::decimal_fp<double>; -#ifndef FMT_STATIC_THOUSANDS_SEPARATOR -template FMT_API locale_ref::locale_ref(const std::locale& loc); -template FMT_API auto locale_ref::get<std::locale>() const -> std::locale; -#endif - // Explicit instantiations for char. template FMT_API auto thousands_sep_impl(locale_ref) -> thousands_sep_result<char>; template FMT_API auto decimal_point_impl(locale_ref) -> char; +// DEPRECATED! template FMT_API void buffer<char>::append(const char*, const char*); -template FMT_API void vformat_to(buffer<char>&, string_view, - typename vformat_args<>::type, locale_ref); - // Explicit instantiations for 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; +// DEPRECATED! template FMT_API void buffer<wchar_t>::append(const wchar_t*, const wchar_t*); } // namespace detail |
