And besides, I forget things too.
O_o
Is a "ctrl+f" too complicated?
Wait.
Have you just stopped pretending that you don't rely on me to complain? ^_^v
In fairness, you aren't doing a great job explaining the source of the error.
Code:
for (size_t size = arr.size(), i = 0U; i < size; i++)
The example should compile without error even when `size_t' and the literal `0U' are different types thanks to implicit conversions.
Code:
for (auto size = arr.size(), i = 0U; i < size; i++)
The `auto' doesn't allow for the implicit conversion because the type isn't fixed forcing the compiler to complain about the inability to decide the appropriate type.
Soma