C++ compat