Miscellaneous utility code for c++ projects.