| 54 | } |
| 55 | |
| 56 | bool StringView::operator==(const StringImpl& strB) const |
| 57 | { |
| 58 | if (this->mLength != strB.mLength) |
| 59 | return false; |
| 60 | return strncmp(this->mPtr, strB.GetPtr(), this->mLength) == 0; |
| 61 | } |
| 62 | |
| 63 | bool StringView::operator!=(const StringImpl& strB) const |
| 64 | { |