Searched refs:ExampleMandA (Results 1 – 2 of 2) sorted by relevance
19 class ExampleMandA { class21 ExampleMandA() { print_default_created(this); } in ExampleMandA() function in ExampleMandA22 ExampleMandA(int value) : value(value) { print_created(this, value); } in ExampleMandA() function in ExampleMandA23 ExampleMandA(const ExampleMandA &e) : value(e.value) { print_copy_created(this); } in ExampleMandA() function in ExampleMandA24 ExampleMandA(std::string&&) {} in ExampleMandA() function in ExampleMandA25 ExampleMandA(ExampleMandA &&e) : value(e.value) { print_move_created(this); } in ExampleMandA() function in ExampleMandA26 ~ExampleMandA() { print_destroyed(this); } in ~ExampleMandA()32 void operator=(const ExampleMandA &e) { print_copy_assigned(this); value = e.value; } in operator =()33 void operator=(ExampleMandA &&e) { print_move_assigned(this); value = e.value; } in operator =()35 void add1(ExampleMandA other) { value += other.value; } // passing by value in add1()[all …]
11 instance1 = m.ExampleMandA()12 instance2 = m.ExampleMandA(32)59 cstats = ConstructorStats.get(m.ExampleMandA)74 m.ExampleMandA.add2c = m.ExampleMandA.add275 m.ExampleMandA.add2d = m.ExampleMandA.add2b76 a = m.ExampleMandA(123)78 a.add2(m.ExampleMandA(-100))80 a.add2b(m.ExampleMandA(20))82 a.add2c(m.ExampleMandA(6))84 a.add2d(m.ExampleMandA(-7))[all …]