I have recently came across .symver directive [1][2] that is more straightforward way to achieve the same thing. In that case, only source file (.cpp) needs to be changed. For example:
Isn't it also nessacery to bump shlibs (for libraries that aren't using symbols files), otherwise a new binary could be installed with an old library and hence be left broken.