It is better to stay silent and be thought a fool, than to speak and remove all doubt.
But we don’t need to know the Latin bit. Why is everyone always going back to Latin? It was ages ago.
Adaptor class templates are used to convert a class, or a related group of classes, from an existing interface to a new interface. Consider the
std::stack class template, which is used to adapt sequence containers to an interface that exhibits the stack operations
pop(), as shown in Listing 13.1. This works because all the methods of
std::stack are implemented in terms of the public interface of the adapted ...