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

Function main

example/unified.cpp:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46void draw(te::poly<Drawable> const &drawable) { drawable.draw(std::cout); }
47
48int main() {
49 draw(Circle{}); // prints Non-member Circle
50 draw(Square{}); // prints Member Square
51}

Callers

nothing calls this directly

Calls 1

drawFunction · 0.70

Tested by

no test coverage detected