Merge pull request #279 from fkaelberer/patch-2

Fix ES.103 example
This commit is contained in:
Gabriel Dos Reis 2015-10-04 11:20:07 -07:00
commit ca107da14c

View File

@ -8482,7 +8482,7 @@ Incrementing a value beyond a maximum value can lead to memory corruption and un
int area(int h, int w) { return h*w; } int area(int h, int w) { return h*w; }
auto a = area(10'000'000*100'000'000); // bad auto a = area(10'000'000, 100'000'000); // bad
**Exception**: Use unsigned types if you really want modulo arithmetic. **Exception**: Use unsigned types if you really want modulo arithmetic.