| 7 | float (&norm_ref)(float x, float y) = norm_l1; //norm_ref is a function reference |
| 8 | |
| 9 | int main() |
| 10 | { |
| 11 | cout << "L1 norm of (-3, 4) = " << norm_ref(-3, 4) << endl; |
| 12 | return 0; |
| 13 | } |
| 14 | |
| 15 | float norm_l1(float x, float y) |
| 16 | { |
nothing calls this directly
no outgoing calls
no test coverage detected