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

Object copy constructor.

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

Definition at line 148 of file stack.hpp.

149  :
150 m_top(NULL),
151 m_size(0)
152 {
153  *this = src;
154 }
155 
156 catch (...) {
157  clear();
158 }
u32 m_size
Node count.
Definition: stack.hpp:36
node< T > * m_top
Stack top.
Definition: stack.hpp:34
virtual stack & clear()
Empty the stack.
Definition: stack.hpp:310