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

Method str

Structural/Bridge/BridgeCodingExercise.cpp:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 }
19
20 string str() const
21 {
22 ostringstream oss;
23 oss << "Drawing " << name << " as "
24 << renderer.what_to_render_as();
25 return oss.str();
26 }
27};
28
29struct Triangle : Shape

Callers 1

TEST_FFunction · 0.45

Calls 1

what_to_render_asMethod · 0.45

Tested by

no test coverage detected