@@ -16648,7 +16648,7 @@ inline constexpr bool std::ranges::enable_borrowed_range<sqlite_orm::internal::m
1664816648#ifndef SQLITE_ORM_IMPORT_STD_MODULE
1664916649#include <utility> // std::move, std::remove_cvref
1665016650#include <functional> // std::reference_wrapper
16651- #if defined(SQLITE_ORM_DEFAULT_COMPARISONS_SUPPORTED) && defined( SQLITE_ORM_CPP20_RANGES_SUPPORTED)
16651+ #ifdef SQLITE_ORM_CPP20_RANGES_SUPPORTED
1665216652#include <ranges> // std::ranges::view_interface
1665316653#endif
1665416654#endif
@@ -16674,7 +16674,6 @@ inline constexpr bool std::ranges::enable_borrowed_range<sqlite_orm::internal::m
1667416674
1667516675// #include "util.h"
1667616676
16677- #ifdef SQLITE_ORM_DEFAULT_COMPARISONS_SUPPORTED
1667816677namespace sqlite_orm::internal {
1667916678
1668016679 template<class ColResult, class DBOs>
@@ -16733,6 +16732,11 @@ namespace sqlite_orm::internal {
1673316732 friend bool operator==(const result_set_iterator& it, const result_set_sentinel_t&) noexcept {
1673416733 return sqlite3_data_count(it.stmt.get()) == 0;
1673516734 }
16735+ #ifndef SQLITE_ORM_DEFAULT_COMPARISONS_SUPPORTED
16736+ friend bool operator!=(const result_set_iterator& it, const result_set_sentinel_t& s) noexcept {
16737+ return !(it == s);
16738+ }
16739+ #endif
1673616740
1673716741 private:
1673816742 void step() {
@@ -16749,7 +16753,6 @@ namespace sqlite_orm::internal {
1674916753 statement_finalizer stmt;
1675016754 };
1675116755}
16752- #endif
1675316756
1675416757// #include "ast_iterator.h"
1675516758
@@ -16761,7 +16764,6 @@ namespace sqlite_orm::internal {
1676116764
1676216765// #include "storage_lookup.h"
1676316766
16764- #ifdef SQLITE_ORM_DEFAULT_COMPARISONS_SUPPORTED
1676516767namespace sqlite_orm::internal {
1676616768 /*
1676716769 * A C++ view over a result set of a select statement, returned by `storage_t::iterate()`.
@@ -16790,7 +16792,7 @@ namespace sqlite_orm::internal {
1679016792
1679116793 auto begin() {
1679216794 const auto& exprDBOs = db_objects_for_expression(this->db_objects.get(), this->expression);
16793- using ExprDBOs = std ::remove_cvref_t<decltype(exprDBOs)>;
16795+ using ExprDBOs = polyfill ::remove_cvref_t<decltype(exprDBOs)>;
1679416796 // note: Select can be `select_t` or `with_t`
1679516797 using select_type = polyfill::detected_or_t<expression_type, expression_type_t, expression_type>;
1679616798 using column_result_type = column_result_of_t<ExprDBOs, select_type>;
@@ -16825,7 +16827,6 @@ namespace sqlite_orm::internal {
1682516827template<class Select, class DBOs>
1682616828inline constexpr bool std::ranges::enable_borrowed_range<sqlite_orm::internal::result_set_view<Select, DBOs>> = true;
1682716829#endif
16828- #endif
1682916830
1683016831// #include "ast_iterator.h"
1683116832
@@ -23689,7 +23690,6 @@ namespace sqlite_orm {
2368923690 }
2369023691#endif
2369123692
23692- #ifdef SQLITE_ORM_DEFAULT_COMPARISONS_SUPPORTED
2369323693 /*
2369423694 * Iterate over a result set of a select statement.
2369523695 *
@@ -23722,7 +23722,6 @@ namespace sqlite_orm {
2372223722 return {this->db_objects, std::move(connection), std::move(expression)};
2372323723 }
2372423724#endif
23725- #endif
2372623725
2372723726#ifdef SQLITE_ORM_CPP23_GENERATOR_SUPPORTED
2372823727 /*
0 commit comments