转换运算子和建构函式已经定义为产生相同的转换。
A conversion operator and a constructor have been defined making the same conversion.
转换运算子的定义,其中引数的型别就是类别或结构的型别。
A definition of a conversion operator where the argument is of the type of your class or structure.
如果使用者并未明确预期有这类转换,请勿提供转换运算子。
Do not define conversion operators outside of a type's domain.
应用推荐