Common utilities for C++