Changes in libcfa/src/enum.hfa [6804f38:2dd5c6d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/enum.hfa
r6804f38 r2dd5c6d 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 } 68 88 69 89 E ?++( E & l ) {
Note: See TracChangeset
for help on using the changeset viewer.