[#bsl-is_void-06]
= xref:bsl.adoc[bsl]::is&lowbar;void
:relfileprefix: ../
:mrdocs:

This `struct` template implements the `is&lowbar;void` meta&hyphen;function defined in the C&plus;&plus;11 standard &lsqb;meta&period;unary&period;cat&rsqb;to determine if the (template parameter) `t&lowbar;TYPE` is the (possibly cv&hyphen;qualified) `void` type&period; This `struct` derives from `bsl&colon;&colon;true&lowbar;type` if `t&lowbar;TYPE` is the `void` type, and `bsl&colon;&colon;false&lowbar;type` otherwise&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
struct is&lowbar;void
    : xref:bsl/false_type.adoc[false&lowbar;type]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:bsl/false_type.adoc[false&lowbar;type]`
| Metafunction representing the boolean constant `false`&period;
|===

== Specializations

[cols="1,4"]
|===
| Name| Description
| xref:bsl/is_void-03.adoc[`is&lowbar;void&lt;void&gt;`] 
| This partial specialization of `is&lowbar;void` derives from `bsl&colon;&colon;true&lowbar;type` for when the (template parameter) `t&lowbar;TYPE` is `void`&period;
| xref:bsl/is_void-0b.adoc[`is&lowbar;void&lt;void volatile&gt;`] 
| This partial specialization of `is&lowbar;void` derives from `bsl&colon;&colon;true&lowbar;type` for when the (template parameter) `t&lowbar;TYPE` is `volatile void`&period;
| xref:bsl/is_void-0e.adoc[`is&lowbar;void&lt;void const&gt;`] 
| This partial specialization of `is&lowbar;void` derives from `bsl&colon;&colon;true&lowbar;type` for when the (template parameter) `t&lowbar;TYPE` is `const void`&period;
| xref:bsl/is_void-09.adoc[`is&lowbar;void&lt;void const volatile&gt;`] 
| This partial specialization of `is&lowbar;void` derives from `bsl&colon;&colon;true&lowbar;type` for when the (template parameter) `t&lowbar;TYPE` is `const volatile void`&period;
|===



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