passing by value
| 45 | // NOLINTNEXTLINE(performance-unnecessary-value-param) |
| 46 | void add1(ExampleMandA other) { value += other.value; } // passing by value |
| 47 | void add2(ExampleMandA &other) { value += other.value; } // passing by reference |
| 48 | void add3(const ExampleMandA &other) { value += other.value; } // passing by const reference |
| 49 | void add4(ExampleMandA *other) { value += other->value; } // passing by pointer |
| 50 | void add5(const ExampleMandA *other) { value += other->value; } // passing by const pointer |
no outgoing calls
no test coverage detected