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

Function main

example/drawable.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28void draw(te::poly<Drawable> const &drawable) { drawable.draw(std::cout); }
29
30int main() {
31 draw(Circle{}); // prints Circle
32 draw(Square{}); // prints Square
33}

Callers

nothing calls this directly

Calls 1

drawFunction · 0.70

Tested by

no test coverage detected