Parameterize vformat to support custom char types

This commit is contained in:
Victor Zverovich
2018-08-05 08:30:27 -07:00
parent c68bab7014
commit 4061a0d35d
3 changed files with 32 additions and 23 deletions

View File

@@ -8,12 +8,6 @@
#include "fmt/format-inl.h"
FMT_BEGIN_NAMESPACE
namespace internal {
// Force linking of inline functions into the library.
std::string (*vformat_ref)(string_view, format_args) = vformat;
std::wstring (*vformat_wref)(wstring_view, wformat_args) = vformat;
}
template struct internal::basic_data<void>;
// Explicit instantiations for char.