Workaround clang/gcc incompatibility

This commit is contained in:
Victor Zverovich
2021-07-02 11:34:42 -07:00
parent 00a57a9f8f
commit 3e7a29cc92
5 changed files with 13 additions and 13 deletions

View File

@@ -47,6 +47,9 @@ template FMT_API char detail::decimal_point_impl(locale_ref);
template FMT_API void detail::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 detail::vformat_to(
detail::buffer<char>&, string_view,
basic_format_args<FMT_BUFFER_CONTEXT(char)>, detail::locale_ref);