52 if (len > cap || cap > 3*(len + 8))
56 memcpy(tmp.
start(), str, len);
61 memmove(
start(), str, len);
75 memmove(
finish(), str, len);
111 #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)
void set_size(size_type sz)
TiXmlString & append(const char *str, size_type len)
const char * data() const