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

Method get_ptr

tests/object.h:196–196  ·  view source on GitHub ↗

Return a const pointer to the referenced object

Source from the content-addressed store, hash-verified

194
195 /// Return a const pointer to the referenced object
196 T *get_ptr() { return m_ptr; }
197
198 /// Return a pointer to the referenced object
199 const T *get_ptr() const { return m_ptr; }

Callers 2

getMethod · 0.80

Calls

no outgoing calls

Tested by 2

getMethod · 0.64