Added wstring_view_t
This commit is contained in:
parent
ee87aee4dd
commit
be33f5eb89
@ -94,6 +94,13 @@ template<typename T>
|
|||||||
using basic_string_view_t = fmt::basic_string_view<T>;
|
using basic_string_view_t = fmt::basic_string_view<T>;
|
||||||
#endif
|
#endif
|
||||||
using string_view_t = basic_string_view_t<char>;
|
using string_view_t = basic_string_view_t<char>;
|
||||||
|
#ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT
|
||||||
|
#ifndef _WIN32
|
||||||
|
#error SPDLOG_WCHAR_TO_UTF8_SUPPORT only supported on windows
|
||||||
|
#else
|
||||||
|
using wstring_view_t = basic_string_view_t<wchar_t>;
|
||||||
|
#endif // _WIN32
|
||||||
|
#endif // SPDLOG_WCHAR_TO_UTF8_SUPPORT
|
||||||
|
|
||||||
#if defined(SPDLOG_NO_ATOMIC_LEVELS)
|
#if defined(SPDLOG_NO_ATOMIC_LEVELS)
|
||||||
using level_t = details::null_atomic_int;
|
using level_t = details::null_atomic_int;
|
||||||
|
Loading…
Reference in New Issue
Block a user