Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/design-patterns-in-modern-cpp
/ draw_image
Function
draw_image
Structural/Proxy/proxy.cpp:75–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
};
74
75
void draw_image(Image& img)
76
{
77
cout <<
"About to draw the image"
<< endl;
78
img.draw();
79
cout <<
"Done drawing the image"
<< endl;
80
}
81
82
void virtual_proxy()
83
{
Callers
1
virtual_proxy
Function · 0.85
Calls
1
draw
Method · 0.45
Tested by
no test coverage detected