Restore support for wchar_t overloads in module

This commit is contained in:
Daniela Engert 2021-05-20 17:30:25 +02:00 committed by Victor Zverovich
parent 24b677d053
commit 6e2e6b796f
2 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@
#include "format.h"
FMT_BEGIN_NAMESPACE
FMT_MODULE_EXPORT_BEGIN
using wformat_parse_context = basic_format_parse_context<wchar_t>;
using wformat_context = buffer_context<wchar_t>;
@ -60,6 +61,7 @@ template <typename... T> void print(wformat_string<T...> fmt, T&&... args) {
return vprint(wstring_view(fmt), make_wformat_args(args...));
}
FMT_MODULE_EXPORT_END
FMT_END_NAMESPACE
#endif // FMT_WCHAR_H_

View File

@ -86,6 +86,7 @@ export module fmt;
#include "fmt/locale.h"
#include "fmt/chrono.h"
#include "fmt/printf.h"
#include "fmt/wchar.h"
#include "fmt/os.h"
module : private;