mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fix whitespace inconsistencies, remove tabs
This commit is contained in:
parent
27b585ad71
commit
603a1b4286
|
@ -10856,7 +10856,7 @@ Avoid wrong results.
|
||||||
unsigned int y = 7;
|
unsigned int y = 7;
|
||||||
|
|
||||||
cout << x - y << '\n'; // unsigned result, possibly 4294967286
|
cout << x - y << '\n'; // unsigned result, possibly 4294967286
|
||||||
cout << x + y << '\n'; // unsigned result: 4
|
cout << x + y << '\n'; // unsiged result: 4
|
||||||
cout << x * y << '\n'; // unsigned result, possibly 4294967275
|
cout << x * y << '\n'; // unsigned result, possibly 4294967275
|
||||||
|
|
||||||
It is harder to spot the problem in more realistic examples.
|
It is harder to spot the problem in more realistic examples.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user