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

Method write

include/pybind11/pybind11.h:2075–2077  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2073
2074 template <typename PM, must_be_member_function_pointer<PM> = 0>
2075 static cpp_function write(PM pm, const handle &hdl) {
2076 return cpp_function([pm](T &c, const D &value) { c.*pm = value; }, is_method(hdl));
2077 }
2078};
2079
2080PYBIND11_NAMESPACE_END(detail)

Callers 4

libsize.pyFile · 0.45
benchmark.pyFile · 0.45
generate_doxygen_xmlFunction · 0.45
prepareFunction · 0.45

Calls 2

cpp_functionClass · 0.85
is_methodClass · 0.85

Tested by

no test coverage detected