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

Method internal5

tests/test_methods_and_attributes.cpp:71–71  ·  view source on GitHub ↗

return by pointer

Source from the content-addressed store, hash-verified

69 const int &internal3() const { return value; } // return by const reference
70 int *internal4() { return &value; } // return by pointer
71 const int *internal5() { return &value; } // return by const pointer
72
73 py::str overloaded() { return "()"; }
74 py::str overloaded(int) { return "(int)"; }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected