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

Function draw

example/override.cpp:58–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57template <class T, class... Ts>
58void draw(te::poly<T> const &drawable, const Ts... args) {
59 drawable.draw(std::cout, args...);
60}
61
62int main() {
63 draw<v1::Drawable>(Circle{}); // prints v1::Circle

Callers

nothing calls this directly

Calls 1

drawMethod · 0.45

Tested by

no test coverage detected