libcsdbg  1.28
C++ exception (and generic) stack trace debug library
template<class T >
T * csdbg::node< T >::detach ( )
inlineprotectedvirtual

Detach the data pointer from the node.

Returns
the detached data pointer

Definition at line 200 of file node.hpp.

Referenced by csdbg::chain< T >::detach(), and csdbg::chain< T >::operator=().

201 {
202  T *retval = m_data;
203  m_data = NULL;
204  return retval;
205 }
T * m_data
Node data.
Definition: node.hpp:44

+ Here is the caller graph for this function: