/etc/ros/genmsg/gencpp is in python-gencpp 0.5.3-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1
C++