有关浮点/双精度类型的C++ 11类型推断中的优先级的规则是什么,例如,从包含多个类型的表达式推断时,如下所示:
auto var = float(1) * double(1);
c++ type-inference c++11
c++ ×1
c++11 ×1
type-inference ×1