Two somewhat obscure and surprisingly helpful C++ standard library functions.