Utility classes for C++