BAN: Add less than operator for iterator

This commit is contained in:
2023-12-07 23:55:41 +02:00
parent 6873244169
commit d8ea0eeba3

View File

@@ -135,6 +135,11 @@ namespace BAN
return IteratorSimpleGeneral(m_pointer - offset);
}
bool operator<(const IteratorSimpleGeneral& other) const
{
return m_pointer < other.m_pointer;
}
bool operator==(const IteratorSimpleGeneral& other) const
{
return m_pointer == other.m_pointer;