Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/design-patterns-in-modern-cpp
/ LazyBitmap
Method
LazyBitmap
Structural/Proxy/proxy.cpp:61–61 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
struct LazyBitmap : Image
60
{
61
LazyBitmap(const string& filename): filename(filename) {}
62
~LazyBitmap() { delete bmp; }
63
void draw() override
64
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected