Add sprintf_format instantiations and remove syntactic noise

This commit is contained in:
Victor Zverovich 2018-10-24 15:25:10 -07:00
parent 1e3dcbba81
commit 486fff597c
2 changed files with 5 additions and 1 deletions

View File

@ -411,7 +411,6 @@ class basic_string_view {
}
friend bool operator<(basic_string_view lhs, basic_string_view rhs) {
return lhs.compare(rhs) < 0;
}
friend bool operator<=(basic_string_view lhs, basic_string_view rhs) {
return lhs.compare(rhs) <= 0;

View File

@ -28,6 +28,11 @@ template FMT_API int internal::char_traits<char>::format_float(
template FMT_API std::string internal::vformat<char>(
string_view, basic_format_args<format_context>);
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);
// Explicit instantiations for wchar_t.
template FMT_API wchar_t internal::thousands_sep(locale_provider *);