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

Method method

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

Source from the content-addressed store, hash-verified

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)
83 float method_lref(int x, float y) & { return y + (float) (x + value); }

Callers 2

test_keyword_only_argsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected