Bridge

Structural Pattern

The bridge pattern is a design pattern that separates the abstract elements of a class from its technical implementation. This provides a cleaner implementation of real-world objects and allows the implementation details to be changed easily.
Links
Related patterns
  • Pimpl Idiom: When there is only one bridge implementation in C++ programming, the pattern is also known as the Pimpl Idiom.
  • Adapter: The bridge pattern is often confused with the adapter pattern because it is often implemented using the class adapter pattern.
Books