Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
stenzek
GitHub Repository: stenzek/duckstation
Path: blob/master/dep/fmt/src/format.cc
7439 views
1
// Formatting library for C++
2
//
3
// Copyright (c) 2012 - 2016, Victor Zverovich
4
// All rights reserved.
5
//
6
// For the license information refer to format.h.
7
8
#include "fmt/format-inl.h"
9
10
FMT_BEGIN_NAMESPACE
11
12
#if FMT_USE_LOCALE
13
template FMT_API locale_ref::locale_ref(const std::locale& loc); // DEPRECATED!
14
template FMT_API auto locale_ref::get<std::locale>() const -> std::locale;
15
#endif
16
17
namespace detail {
18
19
template FMT_API auto dragonbox::to_decimal(float x) noexcept
20
-> dragonbox::decimal_fp<float>;
21
template FMT_API auto dragonbox::to_decimal(double x) noexcept
22
-> dragonbox::decimal_fp<double>;
23
24
// Explicit instantiations for char.
25
26
template FMT_API auto thousands_sep_impl(locale_ref)
27
-> thousands_sep_result<char>;
28
template FMT_API auto decimal_point_impl(locale_ref) -> char;
29
30
// DEPRECATED!
31
template FMT_API void buffer<char>::append(const char*, const char*);
32
33
// Explicit instantiations for wchar_t.
34
35
template FMT_API auto thousands_sep_impl(locale_ref)
36
-> thousands_sep_result<wchar_t>;
37
template FMT_API auto decimal_point_impl(locale_ref) -> wchar_t;
38
39
// DEPRECATED!
40
template FMT_API void buffer<wchar_t>::append(const wchar_t*, const wchar_t*);
41
42
} // namespace detail
43
FMT_END_NAMESPACE
44
45