Remove inherited method?
Posted on 2009-04-11
My C++ is a little rusty but I believe that I cannot mark an inherited virtual method as "ignore" or "remove" or "delete" so it is not available to subclasses. In the past, I simply "override" the method in the subclass and threw an Exception that indicated that this method was not available to the subclass. Is there a better way to handle this situation?
Oh! In case it matters... I am using the latest version of MSVS C++ CLI.
Thanks for your help,