I constantly use C++ and regularly discover either by myself or from colleagues or Internet new interesting features of the language with which I wasn't acquainted previously. On the one hand, I'd like to save these for myself, on the other hand, you might find them useful as well. So enjoy the new series. Today's agenda is
- Do you need const for a function parameter passed by value?
- Iterators that compute their values, overloading the arrow operator.
- std::string is not null terminated.
- std::cout can be damn fast.