| 30 | }; |
| 31 | |
| 32 | class Example { |
| 33 | public: |
| 34 | Example(Drawable const drawable, std::ostream &out) |
| 35 | : drawable{drawable}, out{out} {} |
| 36 | |
| 37 | void draw() { drawable.draw(out); } |
| 38 | |
| 39 | private: |
| 40 | Drawable const drawable; |
| 41 | std::ostream &out; |
| 42 | }; |
| 43 | |
| 44 | int main() { |
| 45 | namespace di = boost::di; |
nothing calls this directly
no outgoing calls
no test coverage detected