mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-01 19:54:46 +02:00
Make format.h compile faster
This commit is contained in:
@@ -4158,6 +4158,9 @@ void vformat_to(buffer<Char>& buf, basic_string_view<Char> fmt,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef FMT_HEADER_ONLY
|
#ifndef FMT_HEADER_ONLY
|
||||||
|
extern template FMT_API void vformat_to(
|
||||||
|
buffer<char>&, string_view, basic_format_args<FMT_BUFFER_CONTEXT(char)>,
|
||||||
|
locale_ref);
|
||||||
extern template FMT_API auto thousands_sep_impl<char>(locale_ref)
|
extern template FMT_API auto thousands_sep_impl<char>(locale_ref)
|
||||||
-> thousands_sep_result<char>;
|
-> thousands_sep_result<char>;
|
||||||
extern template FMT_API auto thousands_sep_impl<wchar_t>(locale_ref)
|
extern template FMT_API auto thousands_sep_impl<wchar_t>(locale_ref)
|
||||||
|
@@ -31,9 +31,6 @@ template FMT_API auto decimal_point_impl(locale_ref) -> char;
|
|||||||
|
|
||||||
template FMT_API void buffer<char>::append(const char*, const char*);
|
template FMT_API void buffer<char>::append(const char*, const char*);
|
||||||
|
|
||||||
// DEPRECATED!
|
|
||||||
// There is no correspondent extern template in format.h because of
|
|
||||||
// incompatibility between clang and gcc (#2377).
|
|
||||||
template FMT_API void vformat_to(buffer<char>&, string_view,
|
template FMT_API void vformat_to(buffer<char>&, string_view,
|
||||||
basic_format_args<FMT_BUFFER_CONTEXT(char)>,
|
basic_format_args<FMT_BUFFER_CONTEXT(char)>,
|
||||||
locale_ref);
|
locale_ref);
|
||||||
|
Reference in New Issue
Block a user