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

◆ Iterator() [2/2]

template<SelecterType SELECTER>
sqt::Iterator< SELECTER >::Iterator ( Statement & statement,
std::monostate dumb )
noexcept

Constructs an iterator pointing to the end of the result elements.

Parameters
statementThe statement associated with the iterator.
dumbA dummy parameter to differentiate this constructor from the other one.

This constructor is called internally by the sqt::Result::end() method to create an interator pointing to the end of the result elements. It is not intended to be called directly by users.

Warning
Calling any operator or method except comparison operators on this iterator will result in undefined behavior.
See also
sqt::Iterator<>::Iterator(Statement&)
sqt::Result<>::end()