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

Method VectorizeTestClass

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

Source from the content-addressed store, hash-verified

77 // test_method_vectorization
78 struct VectorizeTestClass {
79 explicit VectorizeTestClass(int v) : value{v} {};
80 float method(int x, float y) const { return y + (float) (x + value); }
81 // Exercises vectorize(Return (Class::*)(Args...) &)
82 // NOLINTNEXTLINE(readability-make-member-function-const)

Calls

no outgoing calls

Tested by

no test coverage detected