...
All types that can be used for variable declaration.
Table of Content Zone | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
ComplexNon-primitive types. This category contains the following types: ArrayArray type. For example:
BuiltinNon-primitive type builtin for a given compiler. ClassUser-defined class type. For example:
EnumUser-defined enum type. For example:
FunctionFunction type. Used for function pointers. For example:
ReferenceReference type. Used for passing by reference. For example:
structStruct type. For example:
Template ParameterA template parameter in template class declaration. For example:
TypedefTypedef type. For example:
UnionUnion type. For example":
PrimitiveAll primitive types. This category contains the following types: boolPrimitive type bool. For example:
charPrimitive type char. For example:
doublePrimitive type double. For example:
floatPrimitive type float. For example:
intPrimitive type int. For example:
longPrimitive type long. For example:
long doublePrimitive type long double. For example:
pointerPointer type. For example:
shortPrimitive type short. For example:
voidPrimitive type void. Used for void pointers. For example:
wchar_tPrimitive type wchar_t. For example:
std::nullptr_tThe type of pointer literal. Example:
|