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