libcsdbg  1.28
C++ exception (and generic) stack trace debug library
string * csdbg::string::clone ( ) const
inlinevirtual

Object virtual copy constructor.

Returns
the object copy (heap allocated)
Exceptions
std::bad_alloc

Implements csdbg::object.

Reimplemented in csdbg::parser, csdbg::streambuf, csdbg::tcpsockbuf, csdbg::sttybuf, and csdbg::filebuf.

Definition at line 200 of file string.cpp.

References string().

201 {
202  return new string(*this);
203 }
string(u32=0)
Object constructor.
Definition: string.cpp:127

+ Here is the call graph for this function: