Changes in libcfa/src/bits/sequence.hfa [a32cbac2:a5a67ab8]
- File:
-
- 1 edited
-
libcfa/src/bits/sequence.hfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/sequence.hfa
ra32cbac2 ra5a67ab8 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. Without214 // passing the sequence, traversing would require its length. Thus the iterator needs a pointer to the sequence215 // to pass to succ/pred. Both stack and queue just encounter 0p since the lists are not circular.216 213 Sequence(T) * seq; 217 214 }; … … 254 251 struct SeqIterRev { 255 252 inline ColIter; 256 // See above for explanation.257 253 Sequence(T) * seq; 258 254 };
Note:
See TracChangeset
for help on using the changeset viewer.