16 lines · c
1// struct ABC is expensive to copy and should be2// passed as a const reference.3struct ABC {4 ABC(const ABC&);5 int get(int) const;6};7 8 9int f1(int n, ABC v1, ABC v2); // line 910 11int f1(int n, ABC v1); // line 1112 13 14 15void f2( int n, ABC v2); // line 1516