First page Back Continue Last page Graphics
ABC cont.
One use of the ABC concept is to “enforce interface rules”.
Since a virtual function in the Abstract Base Class must be overloaded, this can enforce the interface defined by the ABC.
Derived Class Doesn't Use new.
- class baseDMA
- ...
- class lacksDMA : public baseDMA
- // no new call
No need for explicit destructor, copy constructor, or assignment operator.