| 12 | namespace te = boost::te; |
| 13 | |
| 14 | struct Drawable { |
| 15 | void draw(std::ostream &out) const { |
| 16 | te::call([](auto const &self, auto &out) { self.draw(out); }, *this, out); |
| 17 | } |
| 18 | }; |
| 19 | |
| 20 | struct Square { |
| 21 | void draw(std::ostream &out) const { out << "Square"; } |
nothing calls this directly
no outgoing calls
no test coverage detected