BAN: Implement String::operator==(const String&)

This commit is contained in:
2023-12-24 13:36:46 +02:00
parent 9b8e6e6629
commit 0e714d5eb4
2 changed files with 11 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ namespace BAN
char operator[](size_type index) const { ASSERT(index < m_size); return data()[index]; }
char& operator[](size_type index) { ASSERT(index < m_size); return data()[index]; }
bool operator==(const String&) const;
bool operator==(StringView) const;
bool operator==(const char*) const;