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.
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>
Base Classes
Name |
Description |
Metafunction representing a compile‐time constant of the specified (template parameter) |
Type Aliases
Name |
Description |
Alias for this |
|
Member Functions
Name |
Description |
Return a copy of the template argument |
|
Static Data Members
Name |
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