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

Class Bitmap

Structural/Proxy/proxy.cpp:46–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44};
45
46struct Bitmap : Image
47{
48 Bitmap(const string& filename)
49 {
50 cout << "Loading image from " << filename << endl;
51 }
52
53 void draw() override
54 {
55 cout << "Drawing image" << endl;
56 }
57};
58
59struct LazyBitmap : Image
60{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected