C++ useful utilities