MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / operator==

Function operator==

source/util/bstring.cpp:1088–1093  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1086}
1087
1088bool operator==(const BString& s2, const BString& s1) {
1089 if (s2.data == s1.data) {
1090 return true;
1091 }
1092 return s2.compareTo(s1) == 0;
1093}
1094
1095bool operator==(const BString& s2, const char* s1) {
1096 return s2.compareTo(s1) == 0;

Callers

nothing calls this directly

Calls 1

compareToMethod · 0.80

Tested by

no test coverage detected