Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/design-patterns-in-modern-cpp
/ property_proxy
Function
property_proxy
Structural/Proxy/proxy.cpp:188–193 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
186
};
187
188
void property_proxy()
189
{
190
Creature creature;
191
creature.agility = 20;
192
cout << creature.agility << endl;
193
}
194
195
int main()
196
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected