Implementedf C++ code generation in general.