Peter Corlett abuse at
Mon Apr 28 18:00:38 BST 2008

On Mon, Apr 28, 2008 at 11:41:01AM -0500, Ian Malpass wrote:
> I want to inherit from a base class, but I want to not inherit methods
> foo() and bar(). I could over-ride these with methods that die(), but
> can() would still see them.

In that case, you do not want to inherit from a base class. You want to
encapsulate it in another class that only exposes the API that you wish to

More information about the mailing list