If you use C++ for anything at all I hate you with every fiber of my being
@sir for (auto i = complaints.begin(); i != complaints.end(); ++i) { i->meh(); }
@rahThe fact that you have to write that instead of something like:```for comp in complaints { comp.meh() }```To use iterators ...@sir
@zentauro @sir You don't. With C++11 you can also do:
for (auto& comp: complaints) { comp.meh(); }
Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy. Stay safe. Please abide by our code of conduct. (Source code)