Lines Matching refs:other
34 void add1(ExampleMandA other) { value += other.value; } // passing by value
35 void add2(ExampleMandA &other) { value += other.value; } // passing by reference
36 void add3(const ExampleMandA &other) { value += other.value; } // passing by const reference
37 void add4(ExampleMandA *other) { value += other->value; } // passing by pointer
38 void add5(const ExampleMandA *other) { value += other->value; } // passing by const pointer
40 void add6(int other) { value += other; } // passing by value
41 void add7(int &other) { value += other; } // passing by reference
42 void add8(const int &other) { value += other; } // passing by const reference
43 void add9(int *other) { value += *other; } // passing by pointer
44 void add10(const int *other) { value += *other; } // passing by const pointer