3 ms·
That’s actually what I do whenever I’m lacking humility as a coder. One F12 on std::iterator (which is now deprecated lol [0]) is enough for me to remember that
by jimbob45 5y ago
That’s actually what I do whenever I’m lacking humility as a coder. One F12 on std::iterator (which is now deprecated lol [0]) is enough for me to remember that I don’t know anything.
[0] https://www.fluentcpp.com/2018/05/08/std-iterator-deprecated/ https://www.fluentcpp.com/2018/05/08/std-iterator-deprecated...
- cyber_kinetist 5y agoMy gripe with C++ is that you need to know so many things to build even the most basic abstractions. When writing a custom data structure you always end up with having headaches about the specifics of std::iterators and rvalue references and all that jazz rather than focusing on the actual algorithm. There’s a reason why people want to go back to Orthodox C++ (using C++ as C with a few extra features)
- catlifeonmars 5y agoThis. Want to define a class? Remember the rule of 3 (or is it 5?).