fmt/src/format.cc

50 lines
1.6 KiB
C++
Raw Normal View History

2018-03-21 14:51:56 +00: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 15:33:51 +00:00
FMT_BEGIN_NAMESPACE
2018-03-21 14:51:56 +00:00
template struct internal::basic_data<void>;
// Explicit instantiations for char.
template FMT_API char internal::thousands_sep(locale_provider *lp);
2018-03-21 14:51:56 +00:00
template void internal::basic_buffer<char>::append(const char *, const char *);
2018-04-08 14:03:44 +00:00
template void internal::arg_map<format_context>::init(
const basic_format_args<format_context> &args);
2018-03-21 14:51:56 +00:00
template FMT_API int internal::char_traits<char>::format_float(
char *, std::size_t, const char *, int, double);
2018-03-21 14:51:56 +00:00
template FMT_API int internal::char_traits<char>::format_float(
char *, std::size_t, const char *, int, long double);
template FMT_API std::string internal::vformat<char>(
string_view, basic_format_args<format_context>);
2018-03-21 14:51:56 +00:00
// Explicit instantiations for wchar_t.
template FMT_API wchar_t internal::thousands_sep(locale_provider *);
template void internal::basic_buffer<wchar_t>::append(
const wchar_t *, const wchar_t *);
2018-03-21 14:51:56 +00:00
template void internal::arg_map<wformat_context>::init(
const basic_format_args<wformat_context> &);
2018-03-21 14:51:56 +00:00
template FMT_API int internal::char_traits<wchar_t>::format_float(
wchar_t *, std::size_t, const wchar_t *, int, double);
2018-03-21 14:51:56 +00:00
template FMT_API int internal::char_traits<wchar_t>::format_float(
wchar_t *, std::size_t, const wchar_t *, int, long double);
template FMT_API std::wstring internal::vformat<wchar_t>(
wstring_view, basic_format_args<wformat_context>);
2018-05-12 15:33:51 +00:00
FMT_END_NAMESPACE