Compartir a través de


Standard Conversion

Objects of integral types can be converted to shorter signed or unsigned integral types. Such a conversion is called "standard conversion." It can result in loss of data if the value of the original object is outside the range representable by the shorter type.

Note

The compiler issues a high-level warning when a conversion to a shorter type takes place.

See Also

Reference

Integral Conversions