Move is_char specializations to xchar.h

This commit is contained in:
Victor Zverovich
2021-06-06 15:32:30 -07:00
parent 16c3514d01
commit d551b88a6d
8 changed files with 98 additions and 85 deletions
+5
View File
@@ -35,6 +35,11 @@ template <typename... Args>
using wformat_string = basic_format_string<wchar_t, type_identity_t<Args>...>;
#endif
template <> struct is_char<wchar_t> : std::true_type {};
template <> struct is_char<detail::char8_type> : std::true_type {};
template <> struct is_char<char16_t> : std::true_type {};
template <> struct is_char<char32_t> : std::true_type {};
template <typename... Args>
constexpr format_arg_store<wformat_context, Args...> make_wformat_args(
const Args&... args) {