C++ utilities.