mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Add sprintf_format instantiations and remove syntactic noise
This commit is contained in:
parent
1e3dcbba81
commit
486fff597c
@ -411,7 +411,6 @@ class basic_string_view {
|
|||||||
}
|
}
|
||||||
friend bool operator<(basic_string_view lhs, basic_string_view rhs) {
|
friend bool operator<(basic_string_view lhs, basic_string_view rhs) {
|
||||||
return lhs.compare(rhs) < 0;
|
return lhs.compare(rhs) < 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
friend bool operator<=(basic_string_view lhs, basic_string_view rhs) {
|
friend bool operator<=(basic_string_view lhs, basic_string_view rhs) {
|
||||||
return lhs.compare(rhs) <= 0;
|
return lhs.compare(rhs) <= 0;
|
||||||
|
@ -28,6 +28,11 @@ template FMT_API int internal::char_traits<char>::format_float(
|
|||||||
template FMT_API std::string internal::vformat<char>(
|
template FMT_API std::string internal::vformat<char>(
|
||||||
string_view, basic_format_args<format_context>);
|
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.
|
// Explicit instantiations for wchar_t.
|
||||||
|
|
||||||
template FMT_API wchar_t internal::thousands_sep(locale_provider *);
|
template FMT_API wchar_t internal::thousands_sep(locale_provider *);
|
||||||
|
Loading…
Reference in New Issue
Block a user