[expr.mul]
Change: Specify rounding for results of integer
/ and
%. Rationale: Increase portability, C99 compatibility
. Effect on original feature:
Valid C++ 2003 code that uses integer division rounds the result toward 0 or
toward negative infinity, whereas this International Standard always rounds
the result toward 0
. Rationale: Required for new features
.
Effect on original feature:
Valid C++ 2003 code may fail to compile or produce different results in
this International Standard, as the following example illustrates:
bool b1 = new int && false; struct S { operator int(); };
bool b2 = &S::operator int && false;