MCPcopy Create free account
hub / github.com/pybind/pybind11 / ~func_handle

Function ~func_handle

include/pybind11/functional.h:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 return *this;
35 }
36 ~func_handle() {
37 gil_scoped_acquire acq;
38 function kill_f(std::move(f));
39 }
40};
41
42// to emulate 'move initialization capture' in C++11

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected