[#BloombergLP-bslmf-IsClass] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::IsClass :relfileprefix: ../../ :mrdocs: This meta‐function derives from `bsl::true_type` if the (template parameter) `t_TYPE` is a class type, or a reference to a class type, and from `bsl::false_type` otherwise. == Synopsis Declared in `<bslmf_isclass.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_TYPE> struct IsClass : bsl::is_class<t_TYPE>::type ---- == Description Note that although this `struct` is functionally identical to `bsl::is_class`, the use of `bsl::is_class` should be preferred. == Base Classes [cols="1,4"] |=== | Name| Description | `bsl::is_class<t_TYPE>::type` | |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#