I recently came across this in some code:
What does i(0) do? I've never seen anything like it before. It looks like some kind of strange function declaration to me, but the code works as intended so that can't be it.Code:for (int i(0); i<10; i++) cout << i << endl;
A search on the forums give hardly any results, so it can't be widely used?