Structural patterns
More...
Structural patterns
https://refactoring.guru/design-patterns/structural-patterns
◆ structural_patterns_demo()
void structural_patterns_demo |
( |
| ) |
|
Definition at line 362 of file patterns.cpp.
370 dec.subject.method();
is a wrapper using different from Standalone interface. AKA Adapter
forward_list< reference_wrapper< Interface > > children
is a partial wrapper of an object with same as wrapped object Interface
is a opaque wrapper with same as wrapped object Interface
is wrapped by Bridge. AKA adaptee of Adapter