xo-alloc2: working operator* for AAllocIterator
This commit is contained in:
parent
13edc3a973
commit
c6fbaf7b5e
5 changed files with 36 additions and 2 deletions
|
|
@ -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(); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue