MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / operator==

Function operator==

tests/framework/src/doctest.cpp:705–705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703String operator+(const String& lhs, const String& rhs) { return String(lhs) += rhs; }
704
705bool operator==(const String& lhs, const String& rhs) { return lhs.compare(rhs) == 0; }
706bool operator!=(const String& lhs, const String& rhs) { return lhs.compare(rhs) != 0; }
707bool operator< (const String& lhs, const String& rhs) { return lhs.compare(rhs) < 0; }
708bool operator> (const String& lhs, const String& rhs) { return lhs.compare(rhs) > 0; }

Callers

nothing calls this directly

Calls 3

checkWithMethod · 0.80
fabsFunction · 0.50
compareMethod · 0.45

Tested by

no test coverage detected