Searched refs:MoveOrCopyInt (Results 1 – 1 of 1) sorted by relevance
49 class MoveOrCopyInt { class51 MoveOrCopyInt() { print_default_created(this); } in MoveOrCopyInt() function in MoveOrCopyInt52 MoveOrCopyInt(int v) : value{std::move(v)} { print_created(this, value); } in MoveOrCopyInt() function in MoveOrCopyInt53 … MoveOrCopyInt(MoveOrCopyInt &&m) { print_move_created(this, m.value); std::swap(value, m.value); } in MoveOrCopyInt() function in MoveOrCopyInt54 …MoveOrCopyInt &operator=(MoveOrCopyInt &&m) { print_move_assigned(this, m.value); std::swap(value,… in operator =()55 MoveOrCopyInt(const MoveOrCopyInt &c) { print_copy_created(this, c.value); value = c.value; } in MoveOrCopyInt() function in MoveOrCopyInt56 …MoveOrCopyInt &operator=(const MoveOrCopyInt &c) { print_copy_assigned(this, c.value); value = c.v… in operator =()57 ~MoveOrCopyInt() { print_destroyed(this); } in ~MoveOrCopyInt()79 template <> struct type_caster<MoveOrCopyInt> {80 PYBIND11_TYPE_CASTER(MoveOrCopyInt, _("MoveOrCopyInt"));[all …]