43 TiXmlString::Rep TiXmlString::nullrep_ = { 0, 0, {
'\0' } };
61 if (len > cap || cap > 3*(len + 8))
65 memcpy(tmp.start(), str, len);
70 memmove(start(), str, len);
84 memmove(finish(), str, len);
120 #endif // TIXML_USE_STL static const size_type npos
void swap(TiXmlString &other)
size_type capacity() const
TiXmlString operator+(const TiXmlString &a, const TiXmlString &b)
TiXmlString & assign(const char *str, size_type len)
void reserve(size_type cap)
TiXmlString & append(const char *str, size_type len)
const char * data() const