Utilities for C++