On 2013-04-09 16:50, Dmitry Olshansky wrote:
> final class Foo{ //no inheritance
> final: //no virtuals
> ...
> }
>
> 2 extra words and you are done. The only problem I see is that there is
> no way to "undo" final on a few methods later...
Isn't "final" on the class enough. No point in having virtual methods if
nothing can inherit from the class.
--
/Jacob Carlborg