| 22 | |
| 23 | operator const int() const { return mX; } |
| 24 | Foo operator++(int) |
| 25 | { |
| 26 | Foo old(*this); |
| 27 | printf(" ======\n"); |
| 28 | ++mX; |
| 29 | printf(" ++++++\n"); |
| 30 | return old; |
| 31 | } |
| 32 | Foo& operator++() |
| 33 | { |
| 34 | ++mX; |
nothing calls this directly
no outgoing calls
no test coverage detected