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

Method incRef

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

Increase the object's reference count by one

Source from the content-addressed store, hash-verified

19
20 /// Increase the object's reference count by one
21 void incRef() const { ++m_refCount; }
22
23 /** \brief Decrease the reference count of
24 * the object and possibly deallocate it.

Callers 2

refMethod · 0.80
refClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected