WhiteHole!Base is a subclass of
Base which automatically implements
all abstract member functions as functions that always fail. These functions
simply throw an
Error and never return.
Whitehole is useful for
trapping the use of class member functions that haven't been implemented.
alias WhiteHole(Base) = AutoImplement!(Base,generateAssertTrap,isAbstractFunction);
The name came from Class::WhiteHole Perl module by Michael G Schwern.
|Base|| A non-final class for |