mirror of
https://github.com/JakubVojvoda/design-patterns-cpp.git
synced 2025-12-16 20:37:05 +03:00
Proxy
Proxy pattern provides a surrogate or placeholder for another object to control access to it. The pattern has structural purpose and applies to objects.
When to use
- whenever there is a need for a more versatile or sophisticated reference to an object than a simple pointer