MCPcopy Create free account
hub / github.com/Apress/design-patterns-in-modern-cpp / virtual_proxy

Function virtual_proxy

Structural/Proxy/proxy.cpp:82–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void virtual_proxy()
83{
84 LazyBitmap img{ "pokemon.png" };
85 draw_image(img); // loaded whether the bitmap is loaded or not
86 draw_image(img);
87}
88
89void smart_pointers()
90{

Callers

nothing calls this directly

Calls 1

draw_imageFunction · 0.85

Tested by

no test coverage detected