I saw some implementation in <type_traits> header file, but there are some implementations that I could not find, like this:
// STRUCT TEMPLATE is_class
template <class _Ty>
struct is_class : bool_constant<__is_class(_Ty)> {}; // determine whether _Ty is a class
template <class _Ty>
_INLINE_VAR constexpr bool is_class_v = __is_class(_Ty);
I would like to know the implementation of __is_class. Does somebody know where the implementation is? I use the IDE named visual studio 2019.