class_adapter_pattern::Adapter
-
class Adapter : public class_adapter_pattern::Target, private class_adapter_pattern::Adaptee
The Adapter class bridges the Target and Adaptee interfaces.
The Adapter allows the Adaptee’s functionality to be used where the Target’s interface is required by translating requests from the Target format to the Adaptee’s specific format.