MCPcopy Create free account
hub / github.com/pybind/pybind11 / ~Movable

Method ~Movable

tests/test_virtual_functions.cpp:128–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 Movable(Movable &&m) noexcept : value{m.value} { print_move_created(this); }
127 std::string get_value() const { return std::to_string(value); }
128 ~Movable() { print_destroyed(this); }
129
130private:
131 int value;

Callers

nothing calls this directly

Calls 1

print_destroyedFunction · 0.85

Tested by

no test coverage detected