std::is_compound Template in C++
The std::is_compound template of C++ STL is used to check the whether the type is a compound type or not. It returns a boolean value showing the same. Syntax: template < class T > struct is_compound; Parameter: This template contains single parameter T (Trait class) to check whether T is a com