SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches

◆ operator==

template<SelecterType SELECTER>
bool operator== ( const Iterator< SELECTER > & iterator1,
const Iterator< SELECTER > & iterator2 )
friend

Compares two iterators for checking if they are both in the same state.

Parameters
iterator1The first iterator to compare.
iterator2The second iterator to compare.
Returns
true if the iterators are both in the end state, or both not in the end state; otherwise, false.
Warning
This method should be only used to compare an iterator with an end iterator. Do not use it for any other purpose.