utils to facilitate C++ development