C++ boilerplate.