libcsdbg  1.28
C++ exception (and generic) stack trace debug library
template<class T >
csdbg::chain< T >::chain ( const chain< T > &  src)
inline

Object copy constructor.

Parameters
[in]srcthe source object
Exceptions
std::bad_alloc

Definition at line 232 of file chain.hpp.

233  :
234 m_head(NULL),
235 m_tail(NULL),
236 m_size(0)
237 {
238  *this = src;
239 }
240 
241 catch (...) {
242  clear();
243 }
u32 m_size
Node count.
Definition: chain.hpp:43
virtual chain & clear()
Empty the chain.
Definition: chain.hpp:413
node< T > * m_tail
Chain tail.
Definition: chain.hpp:41
node< T > * m_head
Chain head.
Definition: chain.hpp:39