template <class T> struct is_fundamental;
| fundamental arithmetic types | |
|---|---|
| integral types | bool |
| char | |
| char16_t | |
| char32_t | |
| wchar_t | |
| signed char | |
| short int | |
| int | |
| long int | |
| long long int | |
| unsigned char | |
| unsigned short int | |
| unsigned int | |
| unsigned long int | |
| unsigned long long int | |
| floating point types | float |
| double | |
| long double | |
| void | void |
| null pointer | std::nullptr_t |
|
|
| member type | definition |
|---|---|
| value_type | bool |
| type | either true_type or false_type |
| member constant | definition |
|---|---|
| value | either true or false |
|
|
is_fundamental: unsigned: true float: true float*: false decltype(nullptr): true |