![]() |
Deduction of a type common to several types.The CommonType type trait deduces a type that is common to up to three types T1 to T3. This may for instance be the resulting type of an arithmetic operation, such as an addition or a subtraction. Note that cv and reference qualifiers are generally ignored. More...
#include <CommonType.h>
Deduction of a type common to several types.
The CommonType type trait deduces a type that is common to up to three types T1 to T3. This may for instance be the resulting type of an arithmetic operation, such as an addition or a subtraction. Note that cv and reference qualifiers are generally ignored.