MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / compare

Method compare

src/common/classes/fb_string.h:776–779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

774 return StringType(&c_str()[pos], n);
775 }
776 int compare(const StringType& str) const
777 {
778 return compare(str.c_str(), str.length());
779 }
780 int compare(size_type p0, size_type n0, const StringType& str)
781 {
782 return compare(p0, n0, str.c_str(), str.length());

Callers

nothing calls this directly

Calls 4

compareClass · 0.50
lengthFunction · 0.50
c_strMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected