mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-11 15:00:06 +00:00
Restore support for wchar_t
overloads in module
This commit is contained in:
parent
24b677d053
commit
6e2e6b796f
@ -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_
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user