[#BloombergLP-bslmf-IsPolymorphic]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::IsPolymorphic
:relfileprefix: ../../
:mrdocs:

This `struct` template implements a meta&hyphen;function to determine if the (template parameter) `t&lowbar;TYPE` is a (possibly cv&hyphen;qualified) polymorphic type&period; This `struct` derives from `bsl&colon;&colon;true&lowbar;type` if the `t&lowbar;TYPE` is a polymorphic type, and `bsl&colon;&colon;false&lowbar;type` otherwise&period;

== Synopsis

Declared in `&lt;bslmf&lowbar;ispolymorphic&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
struct IsPolymorphic
    : bsl::is&lowbar;polymorphic&lt;t&lowbar;TYPE&gt;::type
----

== Description

Note that although this `struct` is functionally equivalent to `bsl&colon;&colon;is&lowbar;polymorphic`, the use of `bsl&colon;&colon;is&lowbar;polymorphic` should be preferred&period;

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `bsl::is&lowbar;polymorphic&lt;t&lowbar;TYPE&gt;::type`
| 
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
