Changeset a32cbac2
- Timestamp:
- Dec 4, 2020, 11:13:52 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 54f89d5, 7c1144b
- Parents:
- 4f649cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/sequence.hfa
r4f649cb ra32cbac2 211 211 struct SeqIter { 212 212 inline ColIter; 213 // The Sequence must be passed to pred and succ to check for the end of the Sequence and return 0p. Without 214 // passing the sequence, traversing would require its length. Thus the iterator needs a pointer to the sequence 215 // to pass to succ/pred. Both stack and queue just encounter 0p since the lists are not circular. 213 216 Sequence(T) * seq; 214 217 }; … … 251 254 struct SeqIterRev { 252 255 inline ColIter; 256 // See above for explanation. 253 257 Sequence(T) * seq; 254 258 };
Note: See TracChangeset
for help on using the changeset viewer.