]> git.proxmox.com Git - ceph.git/blob - ceph/src/seastar/fmt/src/format.cc
import ceph 14.2.5
[ceph.git] / ceph / src / seastar / fmt / src / format.cc
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 template struct internal::basic_data<void>;
12 template FMT_API internal::locale_ref::locale_ref(const std::locale &loc);
13 template FMT_API std::locale internal::locale_ref::get<std::locale>() const;
14
15 // Explicit instantiations for char.
16
17 template FMT_API char internal::thousands_sep_impl(locale_ref);
18
19 template FMT_API void internal::basic_buffer<char>::append(const char *, const char *);
20
21 template FMT_API void internal::arg_map<format_context>::init(
22 const basic_format_args<format_context> &args);
23
24 template FMT_API int internal::char_traits<char>::format_float(
25 char *, std::size_t, const char *, int, double);
26
27 template FMT_API int internal::char_traits<char>::format_float(
28 char *, std::size_t, const char *, int, long double);
29
30 template FMT_API std::string internal::vformat<char>(
31 string_view, basic_format_args<format_context>);
32
33 template FMT_API format_context::iterator internal::vformat_to(
34 internal::buffer &, string_view, basic_format_args<format_context>);
35
36 template FMT_API void internal::sprintf_format(
37 double, internal::buffer &, core_format_specs);
38 template FMT_API void internal::sprintf_format(
39 long double, internal::buffer &, core_format_specs);
40
41 // Explicit instantiations for wchar_t.
42
43 template FMT_API wchar_t internal::thousands_sep_impl(locale_ref);
44
45 template FMT_API void internal::basic_buffer<wchar_t>::append(
46 const wchar_t *, const wchar_t *);
47
48 template FMT_API void internal::arg_map<wformat_context>::init(
49 const basic_format_args<wformat_context> &);
50
51 template FMT_API int internal::char_traits<wchar_t>::format_float(
52 wchar_t *, std::size_t, const wchar_t *, int, double);
53
54 template FMT_API int internal::char_traits<wchar_t>::format_float(
55 wchar_t *, std::size_t, const wchar_t *, int, long double);
56
57 template FMT_API std::wstring internal::vformat<wchar_t>(
58 wstring_view, basic_format_args<wformat_context>);
59 FMT_END_NAMESPACE