| 39 | } |
| 40 | |
| 41 | Test operator++(int) |
| 42 | { |
| 43 | Test tmp(*this); // copy |
| 44 | operator++(); // pre-increment |
| 45 | return tmp; // return old value |
| 46 | } |
| 47 | |
| 48 | Test& operator+=(const Test& rhs) // compound assignment (does not need to be a member, |
| 49 | { // but often is, to modify the private members) |
nothing calls this directly
no outgoing calls
no test coverage detected