Adapter Pattern . in c++ according to Head First - Design Patterns book example