Simple utility classes/functions for C++.