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

Method Payload

tests/test_callbacks.cpp:113–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 // test_lambda_closure_cleanup
112 struct Payload {
113 Payload() { print_default_created(this); }
114 ~Payload() { print_destroyed(this); }
115 Payload(const Payload &) { print_copy_created(this); }
116 Payload(Payload &&) noexcept { print_move_created(this); }

Callers

nothing calls this directly

Calls 3

print_default_createdFunction · 0.85
print_copy_createdFunction · 0.85
print_move_createdFunction · 0.85

Tested by

no test coverage detected