Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
phprus committed Aug 3, 2024
1 parent 2098550 commit 19bc354
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -929,9 +929,9 @@ template <typename T> class buffer {
// Workaround for Visual Studio 2019 to fix error C2893: Failed to specialize
// function template 'void fmt::v11::detail::buffer<T>::append(const U *,const
// U *)'
#ifndef FMT_DETAIL_EXPLICIT_INSTANTIATIONS
//#ifndef FMT_DETAIL_EXPLICIT_INSTANTIATIONS
FMT_CONSTEXPR20
#endif
//#endif
void
append(const U* begin, const U* end) {
while (begin != end) {
Expand Down
6 changes: 3 additions & 3 deletions src/format.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// For the license information refer to format.h.

#define FMT_DETAIL_EXPLICIT_INSTANTIATIONS 1
//#define FMT_DETAIL_EXPLICIT_INSTANTIATIONS 1
#include "fmt/format-inl.h"

FMT_BEGIN_NAMESPACE
Expand All @@ -27,7 +27,7 @@ template FMT_API auto thousands_sep_impl(locale_ref)
-> thousands_sep_result<char>;
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*);

template FMT_API void vformat_to(buffer<char>&, string_view,
typename vformat_args<>::type, locale_ref);
Expand All @@ -38,7 +38,7 @@ template FMT_API auto thousands_sep_impl(locale_ref)
-> thousands_sep_result<wchar_t>;
template FMT_API auto decimal_point_impl(locale_ref) -> wchar_t;

template FMT_API void buffer<wchar_t>::append(const wchar_t*, const wchar_t*);
//template FMT_API void buffer<wchar_t>::append(const wchar_t*, const wchar_t*);

} // namespace detail
FMT_END_NAMESPACE

0 comments on commit 19bc354

Please sign in to comment.