MCPcopy Create free account
hub / github.com/pybind/pybind11 / operator()

Method operator()

tests/test_virtual_functions.cpp:183–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181
182struct Adder : AdderBase {
183 void
184 operator()(const Data &first, const Data &second, const DataVisitor &visitor) const override {
185 PYBIND11_OVERRIDE_PURE_NAME(
186 void, AdderBase, "__call__", operator(), first, second, visitor);
187 }
188};
189
190static void test_gil() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected