diff --git a/include/fmt/core.h b/include/fmt/core.h index d938bb51..1992c694 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -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; diff --git a/src/format.cc b/src/format.cc index bc8ac649..cd291294 100644 --- a/src/format.cc +++ b/src/format.cc @@ -28,6 +28,11 @@ template FMT_API int internal::char_traits::format_float( template FMT_API std::string internal::vformat( string_view, basic_format_args); +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 *);