5 #ifndef VCCC_TYPE_TRAITS_IS_CHARACTER_HPP_
6 #define VCCC_TYPE_TRAITS_IS_CHARACTER_HPP_
10 #include "vccc/__config.h"
24 #if VCCC_HAS_TYPE_CHAR
25 template<>
struct is_character<char> : std::true_type {};
26 template<>
struct is_character<signed char> : std::true_type {};
27 template<>
struct is_character<unsigned char> : std::true_type {};
30 #if VCCC_HAS_TYPE_WCHAR_T
31 template<>
struct is_character<wchar_t> : std::true_type {};
34 #if VCCC_HAS_TYPE_CHAR16_T
35 template<>
struct is_character<char16_t> : std::true_type {};
38 #if VCCC_HAS_TYPE_CHAR32_T
39 template<>
struct is_character<char32_t> : std::true_type {};
42 #if __cplusplus >= 202002L && VCCC_HAS_TYPE_CHAR8_T_CXX20
43 template<>
struct is_character<char8_t> : std::true_type {};
Definition: directory.h:12
Check if type is character type.
Definition: is_character.hpp:22