]>
git.proxmox.com Git - ceph.git/blob - ceph/src/seastar/fmt/src/format.cc
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"
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;
15 // Explicit instantiations for char.
17 template FMT_API
char internal::thousands_sep_impl(locale_ref
);
19 template FMT_API
void internal::basic_buffer
<char>::append(const char *, const char *);
21 template FMT_API
void internal::arg_map
<format_context
>::init(
22 const basic_format_args
<format_context
> &args
);
24 template FMT_API
int internal::char_traits
<char>::format_float(
25 char *, std::size_t, const char *, int, double);
27 template FMT_API
int internal::char_traits
<char>::format_float(
28 char *, std::size_t, const char *, int, long double);
30 template FMT_API
std::string
internal::vformat
<char>(
31 string_view
, basic_format_args
<format_context
>);
33 template FMT_API
format_context::iterator
internal::vformat_to(
34 internal::buffer
&, string_view
, basic_format_args
<format_context
>);
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
);
41 // Explicit instantiations for wchar_t.
43 template FMT_API
wchar_t internal::thousands_sep_impl(locale_ref
);
45 template FMT_API
void internal::basic_buffer
<wchar_t>::append(
46 const wchar_t *, const wchar_t *);
48 template FMT_API
void internal::arg_map
<wformat_context
>::init(
49 const basic_format_args
<wformat_context
> &);
51 template FMT_API
int internal::char_traits
<wchar_t>::format_float(
52 wchar_t *, std::size_t, const wchar_t *, int, double);
54 template FMT_API
int internal::char_traits
<wchar_t>::format_float(
55 wchar_t *, std::size_t, const wchar_t *, int, long double);
57 template FMT_API
std::wstring
internal::vformat
<wchar_t>(
58 wstring_view
, basic_format_args
<wformat_context
>);