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

Method ExampleMandA

tests/test_methods_and_attributes.cpp:27–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25class ExampleMandA {
26public:
27 ExampleMandA() { print_default_created(this); }
28 explicit ExampleMandA(int value) : value(value) { print_created(this, value); }
29 ExampleMandA(const ExampleMandA &e) : value(e.value) { print_copy_created(this); }
30 explicit ExampleMandA(std::string &&) {}

Callers 2

test_copy_methodFunction · 0.80

Calls 4

print_default_createdFunction · 0.85
print_createdFunction · 0.85
print_copy_createdFunction · 0.85
print_move_createdFunction · 0.85

Tested by

no test coverage detected