| 31 | }; |
| 32 | |
| 33 | int 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 | } |