libcsdbg  1.28
C++ exception (and generic) stack trace debug library
csdbg::streambuf::streambuf ( const streambuf src)

Object copy constructor.

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

Definition at line 40 of file streambuf.cpp.

41  :
42 string(),
43 m_handle(-1)
44 {
45  *this = src;
46 }
47 
48 catch (...) {
49  delete[] m_data;
50  m_data = NULL;
51  m_handle = -1;
52 }
i32 m_handle
Stream handle (descriptor)
Definition: streambuf.hpp:43
string(u32=0)
Object constructor.
Definition: string.cpp:127
i8 * m_data
String data.
Definition: string.hpp:42