Return the raw pointer as a RefCount object. Typically this is for keeping a collection of ogenous objects.
| 164 | // Return the raw pointer as a RefCount object. Typically |
| 165 | // this is for keeping a collection of ogenous objects. |
| 166 | RefCountObj * |
| 167 | object() const |
| 168 | { |
| 169 | return static_cast<RefCountObj *>(m_ptr); |
| 170 | } |
| 171 | |
| 172 | // Return the stored pointer, storing NULL instead. Do not increment |
| 173 | // the refcount; the caller is now responsible for owning the RefCountObj. |
no outgoing calls
no test coverage detected