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
|
2018-03-21 07:51:56 -07:00
|
|
|
template struct internal::basic_data<void>;
|
2019-01-19 07:16:05 -08:00
|
|
|
|
|
|
|
#ifndef FMT_STATIC_THOUSANDS_SEPARATOR
|
2019-01-12 18:27:38 -08:00
|
|
|
template FMT_API internal::locale_ref::locale_ref(const std::locale& loc);
|
2018-11-30 08:52:01 -08:00
|
|
|
template FMT_API std::locale internal::locale_ref::get<std::locale>() const;
|
2019-01-19 07:16:05 -08:00
|
|
|
#endif
|
2018-03-21 07:51:56 -07:00
|
|
|
|
|
|
|
// Explicit instantiations for char.
|
|
|
|
|
2018-11-14 09:39:37 -08:00
|
|
|
template FMT_API char internal::thousands_sep_impl(locale_ref);
|
2018-03-21 07:51:56 -07:00
|
|
|
|
2019-01-12 18:27:38 -08:00
|
|
|
template FMT_API void internal::basic_buffer<char>::append(const char*,
|
|
|
|
const char*);
|
2018-09-19 08:55:45 -07:00
|
|
|
|
2018-11-20 12:41:37 +01:00
|
|
|
template FMT_API void internal::arg_map<format_context>::init(
|
2019-01-12 18:27:38 -08:00
|
|
|
const basic_format_args<format_context>& args);
|
2018-03-21 07:51:56 -07:00
|
|
|
|
2019-01-12 18:27:38 -08:00
|
|
|
template FMT_API int internal::char_traits<char>::format_float(char*,
|
|
|
|
std::size_t,
|
|
|
|
const char*, int,
|
|
|
|
double);
|
2018-03-21 07:51:56 -07:00
|
|
|
|
2019-01-12 18:27:38 -08:00
|
|
|
template FMT_API int internal::char_traits<char>::format_float(char*,
|
|
|
|
std::size_t,
|
|
|
|
const char*, int,
|
|
|
|
long double);
|
2018-09-19 08:55:45 -07:00
|
|
|
|
|
|
|
template FMT_API std::string internal::vformat<char>(
|
|
|
|
string_view, basic_format_args<format_context>);
|
2018-03-21 07:51:56 -07:00
|
|
|
|
2018-11-20 12:41:37 +01:00
|
|
|
template FMT_API format_context::iterator internal::vformat_to(
|
2019-01-12 18:27:38 -08:00
|
|
|
internal::buffer&, string_view, basic_format_args<format_context>);
|
2018-10-24 18:42:42 -07:00
|
|
|
|
2019-01-12 18:27:38 -08:00
|
|
|
template FMT_API void internal::sprintf_format(double, internal::buffer&,
|
|
|
|
core_format_specs);
|
|
|
|
template FMT_API void internal::sprintf_format(long double, internal::buffer&,
|
|
|
|
core_format_specs);
|
2018-10-24 15:25:10 -07:00
|
|
|
|
2018-03-21 07:51:56 -07:00
|
|
|
// Explicit instantiations for wchar_t.
|
|
|
|
|
2018-11-14 09:39:37 -08:00
|
|
|
template FMT_API wchar_t internal::thousands_sep_impl(locale_ref);
|
2018-09-19 08:55:45 -07:00
|
|
|
|
2019-01-12 18:27:38 -08:00
|
|
|
template FMT_API void internal::basic_buffer<wchar_t>::append(const wchar_t*,
|
|
|
|
const wchar_t*);
|
2018-03-21 07:51:56 -07:00
|
|
|
|
2018-11-20 12:41:37 +01:00
|
|
|
template FMT_API void internal::arg_map<wformat_context>::init(
|
2019-01-12 18:27:38 -08:00
|
|
|
const basic_format_args<wformat_context>&);
|
2018-03-21 07:51:56 -07:00
|
|
|
|
|
|
|
template FMT_API int internal::char_traits<wchar_t>::format_float(
|
2019-01-12 18:27:38 -08:00
|
|
|
wchar_t*, std::size_t, const wchar_t*, int, double);
|
2018-03-21 07:51:56 -07:00
|
|
|
|
|
|
|
template FMT_API int internal::char_traits<wchar_t>::format_float(
|
2019-01-12 18:27:38 -08:00
|
|
|
wchar_t*, std::size_t, const wchar_t*, int, long double);
|
2018-09-19 08:55:45 -07:00
|
|
|
|
|
|
|
template FMT_API std::wstring internal::vformat<wchar_t>(
|
|
|
|
wstring_view, basic_format_args<wformat_context>);
|
2018-05-12 08:33:51 -07:00
|
|
|
FMT_END_NAMESPACE
|