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

Method operator()

tests/test_callbacks.cpp:137–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 CppCallable(const CppCallable &) { track_copy_created(this); }
136 CppCallable(CppCallable &&) noexcept { track_move_created(this); }
137 void operator()() {}
138 };
139
140 m.def("test_cpp_callable_cleanup", []() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected