<<< Implementing adapters | Index | Pattern Four: Memento >>> |
Abstract adapter adds convenience of Base interface to an existing Done implementation:
class Adapter : public Base { public: Adapter( Done* dp ); // Base functions //... private: Done* m_done; };//class Adapter
<<< Implementing adapters | Index | Pattern Four: Memento >>> |