C and CPP code look fully separated in generated cpp files