Geeks With Blogs

News

Jason Coyne Jason Coyne's blog April 2008 Entries
Question for you about virtual functions

Is there a way in a subclass to mark a particular function as "final". That is, I have base class A. A declares a virtual function. B inherits, and overrides the function. C inherits B. I want to prevent C from overrideing the function again, but still have it work virtually as far as A and B are concerned.

 

Any help?

Posted On Thursday, April 10, 2008 10:09 AM

Copyright © Jason Coyne | Powered by: GeeksWithBlogs.net