Default constructed iterators as past-the-end iterators

Starting from C++14 we have that: A value-initialized ForwardIterator behaves like the past-the-end iterator of some unspecified empty container: it compares equal to all value-initialized ForwardIterators of the same type. This answer on SO explains this well: Forward iterators and stronger are generally just a lightweight handle onto something…

The STL is all about `stable_sort`

"If you look at the STL, what you see is that everything is a building block for building one single algorithm: stable_sort" (S. Parent)…

Delimited ranges

Phenomenal article by Eric Niebler. Lately, I had to write a similar iterator and I was at first puzzled by the need of taking into account for the sentinel.…

RAII without exceptions

This article does a great job explaining why it is in fact possible to apply RAII even without exceptions. Nonetheless, I would still say that RAII is at its best when coupled with exceptions.…