C++ utility library