34 TiXmlString::Rep TiXmlString::nullrep_ = { 0, 0, {
'\0' } };
52 if (len > cap || cap > 3*(len + 8))
56 memcpy(tmp.start(), str, len);
61 memmove(start(), str, len);
75 memmove(finish(), str, len);
TiXmlString & assign(const char *str, size_type len)
void swap(TiXmlString &other)
TiXmlString operator+(const TiXmlString &a, const TiXmlString &b)
TiXmlString & append(const char *str, size_type len)
size_type capacity() const
void reserve(size_type cap)
static const size_type npos
const char * data() const