Did you know that stdlibc++ (GCC) and libc++ (Clang) provide a hardened mode that will catch misuses of the standard library?

Hardened mode can drastically speed up your development by catching bugs during the implementation/test loop.