
28 Mar
2004
28 Mar
'04
3:43 p.m.
"Gennaro Prota" <gennaro_prota@yahoo.com> wrote in
So is it possible to prevent derivation?
And where is derivation prevented? ;) That only gives an error when you try instantiating the derived class. (Not only you may still derive, but of course you can access and use any static members).
Well, that's the closest legal way to get functionality of 'final'. AFAIK no such feature is planned even for C++0x. /Pavel