Common utility stuff for my c++ projects.