CLASS TYPE P

 # define CLASS_TYPE_P(T) (RECORD_OR_UNION_CODE_P (TREE_CODE (T)) && TYPE_LANG_FLAG_5 (T))

Returns non-zero if T is a class type. Zero for template-type parameters, typename types, etc.

Defined in cp-tree.h.