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

Method ArrayClass

tests/test_numpy_array.cpp:301–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299 struct ArrayClass {
300 int data[2] = {1, 2};
301 ArrayClass() { py::print("ArrayClass()"); }
302 ArrayClass(const ArrayClass &) = default;
303 ~ArrayClass() { py::print("~ArrayClass()"); }
304 };

Callers 1

test_numpy_viewFunction · 0.80

Calls 1

printFunction · 0.85

Tested by

no test coverage detected