diehertz

Mironov Andrey

RATING

0.00
Karma: 0.00
avatar
The following rule applies here: if types in the ternary operator are converted to the most common one, the ternary operator is rvalue.
Imagine a situation where both types can be converted to some common lvalue reference type. I speak types with user-defined conversion operators.