| 13 | namespace te = boost::te; |
| 14 | |
| 15 | struct Drawable : te::poly<Drawable, te::non_owning_storage> { |
| 16 | using te::poly<Drawable, te::non_owning_storage>::poly; |
| 17 | |
| 18 | void draw(std::ostream &out) { |
| 19 | te::call([](auto &self, auto &out) { self.draw(out); }, *this, out); |
| 20 | } |
| 21 | }; |
| 22 | |
| 23 | struct Square { |
| 24 | int value; |
nothing calls this directly
no outgoing calls
no test coverage detected