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

Method CopyOnlyInt

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

Source from the content-addressed store, hash-verified

92class CopyOnlyInt {
93public:
94 CopyOnlyInt() { print_default_created(this); }
95 explicit CopyOnlyInt(int v) : value{v} { print_created(this, value); }
96 CopyOnlyInt(const CopyOnlyInt &c) {
97 print_copy_created(this, c.value);

Callers

nothing calls this directly

Calls 3

print_default_createdFunction · 0.85
print_createdFunction · 0.85
print_copy_createdFunction · 0.85

Tested by

no test coverage detected