| 12 | }; |
| 13 | |
| 14 | int main(int argc, char *argv[]) |
| 15 | { |
| 16 | //===functor |
| 17 | Tax high(0.40, 30000); |
| 18 | Tax middle(0.25, 20000); |
| 19 | |
| 20 | cout << "tax over 3w: " << high(37500) << endl; |
| 21 | cout << "tax over 2w: " << middle(27500) << endl; |
| 22 | } |
nothing calls this directly
no outgoing calls
no test coverage detected