26#ifndef MYSQL_HARNESS_STDX_TYPE_TRAITS_H_
27#define MYSQL_HARNESS_STDX_TYPE_TRAITS_H_
40 little = __ORDER_LITTLE_ENDIAN__,
41 big = __ORDER_BIG_ENDIAN__,
50template <
class T,
bool B = std::is_enum_v<T>>
57 : std::bool_constant<!std::is_convertible_v<T, std::underlying_type_t<T>>> {
69 using type = std::remove_cv_t<std::remove_reference_t<T>>;
constexpr bool is_scoped_enum_v
Definition: type_traits.h:64
endian
Definition: type_traits.h:34
typename type_identity< T >::type type_identity_t
Definition: type_traits.h:81
typename remove_cvref< T >::type remove_cvref_t
Definition: type_traits.h:73
Definition: type_traits.h:51
Definition: type_traits.h:61
Definition: type_traits.h:68
std::remove_cv_t< std::remove_reference_t< T > > type
Definition: type_traits.h:69
Definition: type_traits.h:76
T type
Definition: type_traits.h:77