Standard meta‐function for detecting fundamental types.
Synopsis
Declared in <bslmf_isfundamental.h>
template<class t_TYPE>
struct is_fundamental
: integral_constant<bool, is_arithmetic<t_TYPE>::value || is_void<t_TYPE>::value>
Description
This struct template implements a meta‐function for checking if a type is fundamental as defined in the C++11 standard [basic.fundamental]. Note that this is subtly differemt from bslmf::IsFundamental, which also returns true_type for references to fundamental types.
Base Classes
Name |
Description |
Metafunction representing a compile‐time constant of the specified (template parameter) |
Type Aliases
Name |
Description |
Alias for this |
|
Alias for the (template parameter) |
Member Functions
Name |
Description |
Return a copy of the template argument |
|
Return a copy of the template argument |
Static Data Members
Name |
Description |
The compile‐time constant value of this metafunction. |
Specializations
Name |
Description |
Explicit specialization to confirm that the type of |
|
Explicit specialization to confirm that the type of |
|
Explicit specialization to confirm that the type of |
|
Explicit specialization to confirm that the type of |
Created with MrDocs