common_type

common type - the one that, for two given types, results from applying the ternary operator (?:) to two expressions of those respective types. Note that, for arithmetic types, the common type is the same type that would result for binary arithmetic operators applied to those types; for class types, however, the common type, if one exists, must be one of the two given types (modulo cv-qualifications); i.e., either they are the same type or there exists an unambiguous implicit conversion sequence from one to the other but not vice versa. auto Return (1186)” (EMCppSfe 2021)

common_type.txt · Last modified: 2024/05/01 04:26 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki