MCPcopy Create free account
hub / github.com/DFHack/dfhack / operator +

Function operator +

depends/tinyxml/tinystr.cpp:81–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80
81TiXmlString operator + (const TiXmlString & a, const TiXmlString & b)
82{
83 TiXmlString tmp;
84 tmp.reserve(a.length() + b.length());
85 tmp += a;
86 tmp += b;
87 return tmp;
88}
89
90TiXmlString operator + (const TiXmlString & a, const char* b)
91{

Callers

nothing calls this directly

Calls 2

reserveMethod · 0.80
lengthMethod · 0.80

Tested by

no test coverage detected