title: Possible to remove inherited members or prevent inheritance of certain properties/methods?
body: <p>I'm wondering if it is at all possible to "remove" members/methods from a base class, or rather inhibit them for being inherited? </p>
  
  <p>Say I have a class <code>A</code> that defines a subscript operator and stores the read/writes of that operator in a map object internally. Then I create <code>B</code> which inherits from <code>A</code>. Is there any way I can remove the subscript operator from B, or rather, prevent it from being inherited and thus becoming part of B? </p>
  
  <p>Sorry for being so verbose, but to make it clear, I'm not looking for functionality such as the final keyword, where I want to prevent B from overloading something in A. I'm looking to basically say "B, inherit everything from A EXCEPT X". I figure it's not possible and most likely the answer is going to be "fix/improve your design", just thought there was no harm in asking anyway.</p>