MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / ICompare

Method ICompare

MonaBase/include/Mona/String.h:71–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69
70 static int ICompare(const char* value1, const char* value2, std::size_t size = std::string::npos);
71 static int ICompare(const std::string& value1, const std::string& value2, std::size_t size = std::string::npos) { return ICompare(value1.empty() ? NULL : value1.c_str(), value2.empty() ? NULL : value2.c_str(), size); }
72 static int ICompare(const std::string& value1, const char* value2, std::size_t size = std::string::npos) { return ICompare(value1.empty() ? NULL : value1.c_str(), value2, size); }
73 static int ICompare(const char* value1, const std::string& value2, std::size_t size = std::string::npos) { return ICompare(value1, value2.empty() ? NULL : value2.c_str(), size); }
74

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected