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

Method operator==

BeefySysLib/util/String.cpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56bool StringView::operator==(const StringImpl& strB) const
57{
58 if (this->mLength != strB.mLength)
59 return false;
60 return strncmp(this->mPtr, strB.GetPtr(), this->mLength) == 0;
61}
62
63bool StringView::operator!=(const StringImpl& strB) const
64{

Callers

nothing calls this directly

Calls 1

GetPtrMethod · 0.45

Tested by

no test coverage detected