std::is_compound
From cppreference.com
| Defined in header <type_traits>
|
||
| template< class T > struct is_compound; |
(since C++11) | |
std::is_compound is a UnaryTypeTrait.
If T is a compound type (that is, array, function, object pointer, function pointer, member object pointer, member function pointer, reference, class, union, or enumeration, including any cv-qualified variants), provides the member constant value equal true. For any other type, value is false.
If the program adds specializations for std::is_compound or std::is_compound_v, the behavior is undefined.
Contents |