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

Function main

example/storage.cpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30void draw(drawable_t const &drawable) { drawable.draw(std::cout); }
31
32int main() {
33 draw(Circle{}); // prints Circle
34 draw(Square{}); // prints Square
35}

Callers

nothing calls this directly

Calls 1

drawFunction · 0.70

Tested by

no test coverage detected