Home Segments Index Top Previous Next

68: Mainline

Sometimes, however, C++ must do a conversion that loses information, as when an integer variable is assigned a value derived from an expression that produces a floating-point number. Many C++ compilers issue warnings when they are asked to perform such information-losing, narrowing conversions.