在不进行强制转换的情况下将类型分配给文字原语的方法有哪些?我知道 0.0 变成双精度数,0.0f 变成浮点数。还有其他方法可以对文字进行类型转换吗?
c++ types overloading literals
c++ ×1
literals ×1
overloading ×1
types ×1