Determines the type of an object.
typeof( type ) | (1) | |
typeof( expression ) | (2) | |
typeof_unqual( type ) | (3) | |
typeof_unqual( expression ) | (4) |
typeof and typeof_unqual are collectively called the typeof operators. The typeof operators cannot be applied to bit-field members. If the type of the operand is a variably modified type, the operand is evaluated; otherwise, the operand is not evaluated. The result of the typeof_unqual operator is the non-atomic unqualified type that would result from the typeof operator. The typeof operator preserves all qualifiers.
C++ documentation for decltype |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/c/language/typeof