mirror of
https://github.com/JakubVojvoda/design-patterns-cpp.git
synced 2025-12-17 21:04:36 +03:00
9 lines
292 B
Markdown
9 lines
292 B
Markdown
## 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
|