diff --git a/include/fmt/format.h b/include/fmt/format.h index cd5755cf..f7263354 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -4158,6 +4158,9 @@ void vformat_to(buffer& buf, basic_string_view fmt, } #ifndef FMT_HEADER_ONLY +extern template FMT_API void vformat_to( + buffer&, string_view, basic_format_args, + locale_ref); extern template FMT_API auto thousands_sep_impl(locale_ref) -> thousands_sep_result; extern template FMT_API auto thousands_sep_impl(locale_ref) diff --git a/src/format.cc b/src/format.cc index 5d8d97bd..d0a7317f 100644 --- a/src/format.cc +++ b/src/format.cc @@ -31,9 +31,6 @@ template FMT_API auto decimal_point_impl(locale_ref) -> char; template FMT_API void buffer::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&, string_view, basic_format_args, locale_ref);