Abstract
When we looked at the Decorator design pattern, we saw the different ways of enhancing the functionality of an object. The Proxy design pattern is similar, but its goal is generally to preserve exactly (or as closely as possible) the API that is being used while offering certain internal ehnancements.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
If you are OK with non-standard C++, check out __declspec(property), which is impemented in many modern compilers including Clang, Intel, and of course MSVC.
- 2.
The Microsoft REST SDK is a C++ library for working with REST services. It is both open-source and cross-platform. You can find it on GitHub: https://github.com/Microsoft/cpprestsdk
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Dmitri Nesteruk
About this chapter
Cite this chapter
Nesteruk, D. (2018). Proxy. In: Design Patterns in Modern C++. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3603-1_12
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3603-1_12
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3602-4
Online ISBN: 978-1-4842-3603-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books