[#bsl-is_fundamental-09]
= xref:bsl.adoc[bsl]::is&lowbar;fundamental
:relfileprefix: ../
:mrdocs:

This `struct` template implements a meta&hyphen;function for checking if a type is fundamental as defined in the C&plus;&plus;11 standard &lsqb;basic&period;fundamental&rsqb;&period; Note that this is subtly differemt from `bslmf&colon;&colon;IsFundamental`, which also returns `true&lowbar;type` for references to fundamental types&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
struct is&lowbar;fundamental
    : xref:bsl/integral_constant-02.adoc[integral&lowbar;constant&lt;bool, is&lowbar;arithmetic&lt;t&lowbar;TYPE&gt;&colon;&colon;value &verbar;&verbar; is&lowbar;void&lt;t&lowbar;TYPE&gt;&colon;&colon;value&gt;]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:bsl/integral_constant-02.adoc[integral&lowbar;constant&lt;bool, is&lowbar;arithmetic&lt;t&lowbar;TYPE&gt;&colon;&colon;value &verbar;&verbar; is&lowbar;void&lt;t&lowbar;TYPE&gt;&colon;&colon;value&gt;]`
| Metafunction representing a compile&hyphen;time constant of the specified (template parameter) `t&lowbar;TYPE` with the specified (template parameter) `t&lowbar;VALUE`&period;
|===

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:bsl/integral_constant-02/type.adoc[`type`] 
| Alias for this `integral&lowbar;constant` specialization&period;
| xref:bsl/integral_constant-02/value_type.adoc[`value&lowbar;type`] 
| 
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:bsl/integral_constant-02/operator_call.adoc[`operator()`] 
| Return a copy of the template argument `t&lowbar;VALUE`&period;
| xref:bsl/integral_constant-02/2conversion.adoc[`operator value&lowbar;type`] 
| 
|===


== Static Data Members

[cols="1"]
|===
| Name
| xref:bsl/integral_constant-02/value.adoc[`value`] 
|===


== Specializations

[cols="1,4"]
|===
| Name| Description
| xref:bsl/is_fundamental-06.adoc[`is&lowbar;fundamental&lt;bsl::nullptr&lowbar;t&gt;`] 
| Explicit specialization to confirm that the type of `nullptr` is fundamental&period;
| xref:bsl/is_fundamental-05.adoc[`is&lowbar;fundamental&lt;bsl::nullptr&lowbar;t volatile&gt;`] 
| Explicit specialization to confirm that the type of `volatile nullptr` is fundamental&period;
| xref:bsl/is_fundamental-0f.adoc[`is&lowbar;fundamental&lt;bsl::nullptr&lowbar;t const&gt;`] 
| Explicit specialization to confirm that the type of `const nullptr` is fundamental&period;
| xref:bsl/is_fundamental-08.adoc[`is&lowbar;fundamental&lt;bsl::nullptr&lowbar;t const volatile&gt;`] 
| Explicit specialization to confirm that the type of `const volatile nullptr` is fundamental&period;
|===



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