MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / operator ==

Function operator ==

libhsclient/string_ref.hpp:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41};
42
43template <size_t N> inline bool
44operator ==(const string_ref& x, const char (& y)[N]) {
45 return (x.size() == N - 1) && (::memcmp(x.begin(), y, N - 1) == 0);
46}
47
48inline bool
49operator ==(const string_ref& x, const string_ref& y) {

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected