libcsdbg  1.28
C++ exception (and generic) stack trace debug library
string & csdbg::string::clear ( )
inlinevirtual

Clear contents.

Returns
*this

Definition at line 387 of file string.cpp.

References m_data, and m_length.

Referenced by csdbg::streambuf::flush(), memalign(), shred(), csdbg::style::to_string(), and trim().

388 {
389  m_data[0] = '\0';
390  m_length = 0;
391  return *this;
392 }
i8 * m_data
String data.
Definition: string.hpp:42
u32 m_length
Character count.
Definition: string.hpp:44

+ Here is the caller graph for this function: