| 121 | }; |
| 122 | |
| 123 | struct DrawableDeclareCustomStorage |
| 124 | : te::poly<DrawableDeclare, te::local_storage<16>> { |
| 125 | using te::poly<DrawableDeclare, te::local_storage<16>>::poly; |
| 126 | |
| 127 | void draw(std::ostream &out) const { |
| 128 | te::call([](auto const &self, auto &out) { self.draw(out); }, *this, out); |
| 129 | } |
| 130 | }; |
| 131 | |
| 132 | test should_erase_and_declare_with_custom_storage_call = [] { |
| 133 | DrawableDeclareCustomStorage drawable{Square{}}; |
nothing calls this directly
no outgoing calls
no test coverage detected