Define conversion operators to simplify narrowing and widening conversions between numeric types.
定义转换操作符来简化数字类型之间的缩小和放大转换。
An example of a widening conversion is converting a value that is a 32-bit signed integer to a value that is a 64-bit signed integer.
扩展转换的一个例子是将32位有符号整数值转换为64位有符号整数值。
A conversion, either widening or narrowing, must be possible between the element types of the two arrays.
必须可以在两个数组的元素类型间进行转换(扩大转换或收缩转换)。
If one of these conversions is widening, the reverse conversion might be narrowing.
如果其中一个转换是扩展转换,反向转换便是缩小转换。
A conversion of one array type to another is widening or narrowing depending on whether the conversion of the respective elements is widening or narrowing.
一种数组类型到另一种数组类型的转换是扩展转换还是双字节到单字节转换,取决于各自元素的转换是扩展转换还是双字节到单字节转换。
A conversion of one array type to another is widening or narrowing depending on whether the conversion of the respective elements is widening or narrowing.
一种数组类型到另一种数组类型的转换是扩展转换还是双字节到单字节转换,取决于各自元素的转换是扩展转换还是双字节到单字节转换。
应用推荐