MCPcopy Create free account
hub / github.com/beefytech/Beef / operator+

Method operator+

BeefySysLib/util/String.cpp:179–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177//////////////////////////////////////////////////////////////////////////
178
179String Beefy::operator+(const StringImpl& lhs, const StringImpl& rhs)
180{
181 String str;
182 str.Reserve(lhs.mLength + rhs.mLength + 1);
183 str.Append(lhs);
184 str.Append(rhs);
185 return str;
186}
187
188String Beefy::operator+(const StringImpl& lhs, const StringView& rhs)
189{

Callers

nothing calls this directly

Calls 2

AppendMethod · 0.80
ReserveMethod · 0.45

Tested by

no test coverage detected