Allow modifying statement-cont in C++ code