mercredi 25 janvier 2017

Is there reverse of 'override' specifier in C++?

override keyword allows to make sure that the function will get overridden. I am looking for the reverse functionality. So that - when I write a new function - I want to mark it with something to make sure it will not get accidentally overwritten.

(Also, I do not want to make it static, since it looks like to belong to an object rather than class)

Aucun commentaire:

Enregistrer un commentaire