typo fixes

ES.45
This commit is contained in:
Muhammad Zahalqa
2015-09-29 10:24:15 +03:00
parent f34bc55c73
commit 45ff180fde

View File

@@ -7268,7 +7268,7 @@ The call will most likely be `f(0, 1)` or `f(1, 0)`, but you don't know which. T
No, we don't all know that there a 12 month, numbered 1..12, in a year. Better:
constexp int last_month = 12; // months are numbered 1..12
constexpr int last_month = 12; // months are numbered 1..12
for (int m = first_month; m <= last_month; ++m) // better
cout << month[m] << '\n';