您要查找的是不是:
- The operator symbol is always CType Function for a type conversion operator. 类型转换运算符的符号总是CType函数。
- Conversion operators can be explicit or implicit. 转换运算符可以是explicit,也可以是implicit。
- Do not provide an implicit conversion operator if the conversion is potentially lossy. 如果转换可能丢失信息,则不要提供隐式转换运算符。
- Ideally, customer research data should exist to support defining a conversion operator. 理想情况下,应存在客户研究数据,以支持定义转换运算符。
- The expression is ambiguous because both a conversion operator and an overloaded version of + are defined. 因为既定义了转换操作符又定义了+的重载版本,该表达式具有二义性。
- Do not define conversion operators outside of a type's domain. 不要在类型域之外定义转换运算符。
- Is popped from the stack and the conversion operation is attempted. 然后尝试执行转换操作。
- An explicit conversion operator can be provided for lossy conversions. 对于有损转换,可以提供显式转换运算符。
- You declare two operands to define a binary operator, and you declare one operand to define a unary operator, including a type conversion operator. 声明两个操作数以定义一个二元运算符,声明一个操作数以定义一个一元运算符(包括类型转换运算符)。
- When you define a conversion operator for your type, you tell the compiler that your type may be substituted for the target type. 当你为自己的类型定义一个转换的时候,就是告诉编译器,你的类型可以替换一个目标类型。
- Class, and which is used to pass a string to the conversion operation. 类的类型表示,用于将字符串传递给转换操作。
- The class implementor's job is made much easier by defining a single conversion operator instead of having to define 48 (or more) overloaded operators. 定义一个转换操作符就能代替定义48个(或更多)重载操作符,类实现者的工作就简单多了。
- The Conversion module contains the procedures used to perform various conversion operations. Conversion模块包含用于执行各种转换操作的过程。
- Exception is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow. 在检查的上下文中执行的算术、强制转换或转换运算导致溢出时,会引发。
- This prevents the compiler from silently invoking the conversion operation with possibly unforeseen consequences. 这可以防止编译器无提示地调用可能产生无法预见后果的转换操作。
- Unlike implicit conversion, explicit conversion operators must be invoked by means of a cast. 与隐式转换不同,必须通过强制转换的方式来调用显式转换运算符。
- Implicit conversion operators do not require a type cast to be specified in source code to perform the conversion. 隐式转换运算符不需要在源代码中指定类型转换即可执行转换。
- Explicit conversion operators require a type cast be present in the source code to perform the conversion. 显式转换运算符则要求在源代码中指定类型转换才能执行转换。
- In particular, ambiguities are easy to generate if a class defines both conversion operators and overloaded operators. 尤其是,如果类既定义了转换操作符又定义了重载操作符,容易产生二义性。
- The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow. 在选中的上下文中所进行的算术运算、类型转换或转换操作导致溢出时引发的异常。