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

Method f

tests/test_virtual_functions.cpp:303–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301 PyA2(const PyA2 &) = delete;
302 ~PyA2() override { py::print("PyA2.~PyA2()"); }
303 void f() override {
304 py::print("PyA2.f()");
305 PYBIND11_OVERRIDE(void, A2, f);
306 }
307 };
308
309 py::class_<A2, PyA2>(m, "A2")

Callers

nothing calls this directly

Calls 1

printFunction · 0.85

Tested by

no test coverage detected