by jcd748 · 12y ago · 0 comments
for (const auto& element : collection) { }
What's wrong with <algorithm>? I use it all the time for sort, swap, and random_shuffle comes up more frequently than I expect.
Unfortunately, the gamedev industry will probably be stuck with pre-C++11 for another decade.
> I forgot that sort was in <algorithm>
Uhm, sillysaurus3, could I see you in my office please.
:-)