MCPcopy Create free account
hub / github.com/boost-ext/te / Drawable

Class Drawable

test/te.cpp:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40};
41
42struct Drawable {
43 void draw(std::ostream &out) const {
44 te::call([](auto const &self, auto &out) { self.draw(out); }, *this, out);
45 }
46};
47
48struct Square {
49 void draw(std::ostream &out) const { out << "Square"; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected