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

Method NonPODClass

tests/test_numpy_vectorize.cpp:60–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 // the function definition below, only `b`, `d`, and `g` are vectorized):
59 struct NonPODClass {
60 explicit NonPODClass(int v) : value{v} {}
61 int value;
62 };
63 py::class_<NonPODClass>(m, "NonPODClass")

Callers 2

test_vectorized_noreturnFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected