2018-03-21 07:51:56 -07:00
|
|
|
// Formatting library for C++
|
|
|
|
|
//
|
|
|
|
|
// Copyright (c) 2012 - 2016, Victor Zverovich
|
|
|
|
|
// All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
// For the license information refer to format.h.
|
|
|
|
|
|
|
|
|
|
#include "fmt/format-inl.h"
|
|
|
|
|
|
2018-05-12 08:33:51 -07:00
|
|
|
FMT_BEGIN_NAMESPACE
|
2025-08-31 08:27:04 -07:00
|
|
|
|
|
|
|
|
#if FMT_USE_LOCALE
|
2025-10-18 07:39:31 -07:00
|
|
|
template FMT_API locale_ref::locale_ref(const std::locale& loc); // DEPRECATED!
|
2025-08-31 08:27:04 -07:00
|
|
|
template FMT_API auto locale_ref::get<std::locale>() const -> std::locale;
|
|
|
|
|
#endif
|
|
|
|
|
|
2020-05-10 07:25:42 -07:00
|
|
|
namespace detail {
|
2019-12-10 20:44:08 -08:00
|
|
|
|
2022-05-21 13:21:01 -07:00
|
|
|
template FMT_API auto dragonbox::to_decimal(float x) noexcept
|
|
|
|
|
-> dragonbox::decimal_fp<float>;
|
|
|
|
|
template FMT_API auto dragonbox::to_decimal(double x) noexcept
|
|
|
|
|
-> dragonbox::decimal_fp<double>;
|
2019-01-27 06:47:27 -08:00
|
|
|
|
2018-03-21 07:51:56 -07:00
|
|
|
// Explicit instantiations for char.
|
|
|
|
|
|
2022-05-21 13:21:01 -07:00
|
|
|
template FMT_API auto thousands_sep_impl(locale_ref)
|
2021-06-03 17:40:00 -07:00
|
|
|
-> thousands_sep_result<char>;
|
2022-05-21 13:21:01 -07:00
|
|
|
template FMT_API auto decimal_point_impl(locale_ref) -> char;
|
2018-03-21 07:51:56 -07:00
|
|
|
|
2024-08-03 11:55:25 -07:00
|
|
|
// DEPRECATED!
|
2022-05-21 13:21:01 -07:00
|
|
|
template FMT_API void buffer<char>::append(const char*, const char*);
|
2018-09-19 08:55:45 -07:00
|
|
|
|
2018-03-21 07:51:56 -07:00
|
|
|
// Explicit instantiations for wchar_t.
|
|
|
|
|
|
2022-05-21 13:21:01 -07:00
|
|
|
template FMT_API auto thousands_sep_impl(locale_ref)
|
2021-06-03 17:40:00 -07:00
|
|
|
-> thousands_sep_result<wchar_t>;
|
2022-05-21 13:21:01 -07:00
|
|
|
template FMT_API auto decimal_point_impl(locale_ref) -> wchar_t;
|
2018-09-19 08:55:45 -07:00
|
|
|
|
2025-08-31 10:02:36 -07:00
|
|
|
// DEPRECATED!
|
2022-05-21 13:21:01 -07:00
|
|
|
template FMT_API void buffer<wchar_t>::append(const wchar_t*, const wchar_t*);
|
2021-05-18 14:38:55 +02:00
|
|
|
|
2022-05-21 13:21:01 -07:00
|
|
|
} // namespace detail
|
2018-05-12 08:33:51 -07:00
|
|
|
FMT_END_NAMESPACE
|