c++ utilities.