Determines the type of an object.
Contents |
typeof(type) | (1) | ||||||||
typeof(expression) | (2) | ||||||||
typeof_unqual(type) | (3) | ||||||||
typeof_unqual(expression) | (4) | ||||||||
typeof andtypeof_unqual are collectively called thetypeof operators. Thetypeof 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 thetypeof_unqual operator is the non-atomic unqualified type that would result from thetypeof operator. Thetypeof operator preserves all qualifiers.
| This section is incomplete Reason: no example |
C++ documentation fordecltype |