xo-alloc2: working operator* for AAllocIterator

This commit is contained in:
Roland Conybeare 2025-12-21 16:20:13 -05:00
commit c6fbaf7b5e
5 changed files with 36 additions and 2 deletions

View file

@ -27,6 +27,8 @@ namespace xo {
return O::iface()->compare(O::data(), other); }
void next() noexcept { O::iface()->next(O::data()); }
AllocInfo operator*() const noexcept { return deref(); }
/** triggers operator++ in obj<RAllocIterator<Object>> **/
void _preincrement() noexcept { this->next(); }