52 if (len > cap || cap > 3 * (len + 8)) {
55 memcpy(tmp.
start(), str, len);
58 memmove(
start(), str, len);
72 memmove(
finish(), str, len);
103 #endif // TIXML_USE_STL static const size_type npos
void swap(TiXmlString &other)
TiXmlString operator+(const TiXmlString &a, const TiXmlString &b)
size_type capacity() const
TiXmlString & assign(const char *str, size_type len)
void reserve(size_type cap)
void set_size(size_type sz)
TiXmlString & append(const char *str, size_type len)
const char * data() const