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

Class Drawable

example/storage.cpp:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace te = boost::te;
13
14struct Drawable {
15 void draw(std::ostream &out) const {
16 te::call([](auto const &self, auto &out) { self.draw(out); }, *this, out);
17 }
18};
19
20struct Square {
21 void draw(std::ostream &out) const { out << "Square"; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected