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

Function main

example/container.cpp:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31};
32
33int main() {
34 std::vector<te::poly<Drawable>> drawables{};
35
36 drawables.push_back(Square{});
37 drawables.push_back(Circle{});
38 drawables.push_back(Triangle{});
39
40 for (const auto &drawable : drawables) {
41 drawable.draw(std::cout);
42 }
43}

Callers

nothing calls this directly

Calls 1

drawMethod · 0.45

Tested by

no test coverage detected