Ignore:
Timestamp:
Dec 2, 2021, 5:11:22 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
8e658241
Parents:
1894e03
Message:

Added range_iterator, it now compiles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/algorithms/range_iterator.hfa

    r1894e03 r58b2638  
    1717        const char * text;
    1818        int com;
    19         int
     19        int _start;
     20        int _stop;
    2021};
    2122
     
    2425}
    2526
    26 static inline bool next(RangeIter & this) { return resume(this).com > 0; }
     27static inline bool moveNext(RangeIter & this) { resume(this); return this.com > 0; }
Note: See TracChangeset for help on using the changeset viewer.