1 // Formatting library for C++
3 // Copyright (c) 2012 - 2016, Victor Zverovich
4 // All rights reserved.
6 // For the license information refer to format.h.
8 #include "fmt/format-inl.h"
13 template FMT_API auto dragonbox::to_decimal(float x) noexcept
14 -> dragonbox::decimal_fp<float>;
15 template FMT_API auto dragonbox::to_decimal(double x) noexcept
16 -> dragonbox::decimal_fp<double>;
18 #ifndef FMT_STATIC_THOUSANDS_SEPARATOR
19 template FMT_API locale_ref::locale_ref(const std::locale& loc);
20 template FMT_API auto locale_ref::get<std::locale>() const -> std::locale;
23 // Explicit instantiations for char.
25 template FMT_API auto thousands_sep_impl(locale_ref)
26 -> thousands_sep_result<char>;
27 template FMT_API auto decimal_point_impl(locale_ref) -> char;
29 template FMT_API void buffer<char>::append(const char*, const char*);
31 template FMT_API void vformat_to(buffer<char>&, string_view,
32 typename vformat_args<>::type, locale_ref);
34 // Explicit instantiations for wchar_t.
36 template FMT_API auto thousands_sep_impl(locale_ref)
37 -> thousands_sep_result<wchar_t>;
38 template FMT_API auto decimal_point_impl(locale_ref) -> wchar_t;
40 template FMT_API void buffer<wchar_t>::append(const wchar_t*, const wchar_t*);