Changes in libcfa/src/bits/collection.hfa [fd54fef:f706697]
- File:
-
- 1 edited
-
libcfa/src/bits/collection.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/collection.hfa
rfd54fef rf706697 31 31 32 32 // // wrappers to make Collection have T 33 // forall( T &) {33 // forall( dtype T ) { 34 34 // T *& Next( T * n ) { 35 35 // return (T *)Next( (Colable *)n ); … … 38 38 } // distribution 39 39 40 forall( T &| { T *& Next ( T * ); } ) {40 static inline forall( dtype T | { T *& Next ( T * ); } ) { 41 41 bool listed( T * n ) { 42 42 return Next( n ) != 0p; … … 76 76 } // post: elts = null 77 77 78 forall( T &) {78 forall( dtype T ) { 79 79 T * Curr( ColIter & ci ) with( ci ) { 80 80 return (T *)curr;
Note:
See TracChangeset
for help on using the changeset viewer.