Utils in c++