Files
fmt/src/format.cc

46 lines
1.3 KiB
C++
Raw Normal View History

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
2020-05-10 07:25:42 -07:00
namespace detail {
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
#ifndef FMT_STATIC_THOUSANDS_SEPARATOR
2022-05-21 13:21:01 -07:00
template FMT_API locale_ref::locale_ref(const std::locale& loc);
template FMT_API auto locale_ref::get<std::locale>() const -> std::locale;
#endif
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)
-> 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*);
2024-09-04 15:34:38 -07:00
// DEPRECATED!
2022-05-21 13:21:01 -07:00
template FMT_API void vformat_to(buffer<char>&, string_view,
2022-12-30 19:35:05 -08:00
typename vformat_args<>::type, locale_ref);
2018-10-24 18:42:42 -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)
-> thousands_sep_result<wchar_t>;
2022-05-21 13:21:01 -07:00
template FMT_API auto decimal_point_impl(locale_ref) -> wchar_t;
2022-05-21 13:21:01 -07:00
template FMT_API void buffer<wchar_t>::append(const wchar_t*, const wchar_t*);
2022-05-21 13:21:01 -07:00
} // namespace detail
2018-05-12 08:33:51 -07:00
FMT_END_NAMESPACE