MCPcopy Create free account
hub / github.com/pybind/pybind11 / MoveOnlyInt

Method MoveOnlyInt

tests/test_copy_move.cpp:48–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46class MoveOnlyInt {
47public:
48 MoveOnlyInt() { print_default_created(this); }
49 explicit MoveOnlyInt(int v) : value{v} { print_created(this, value); }
50 MoveOnlyInt(MoveOnlyInt &&m) noexcept {
51 print_move_created(this, m.value);

Callers

nothing calls this directly

Calls 3

print_default_createdFunction · 0.85
print_createdFunction · 0.85
print_move_createdFunction · 0.85

Tested by

no test coverage detected