Changes in libcfa/src/enum.hfa [2dd5c6d:6804f38]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/enum.hfa
r2dd5c6d r6804f38 66 66 return l; 67 67 } 68 69 E ?+=? ( E & l, one_t ) {70 l = succ(l);71 return l;72 }73 74 E ?-=? ( E & l, one_t ) {75 l = pred(l);76 return l;77 }78 79 E ?+=? ( E & l, int i ) {80 int pos = posn(l) + i;81 return fromInt(pos);82 }83 84 E ?-=? ( E & l, int i ) {85 int pos = posn(l) - i;86 return fromInt(pos);87 }88 68 89 69 E ?++( E & l ) {
Note: See TracChangeset
for help on using the changeset viewer.