Changes in src/libcfa/iterator [53a6c2a:bb82c03]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/iterator
r53a6c2a rbb82c03 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jul 7 08:37:25 201713 // Update Count : 1012 // Last Modified On : Wed Mar 2 18:06:05 2016 13 // Update Count : 9 14 14 // 15 15 16 #pragma once 16 #ifndef ITERATOR_H 17 #define ITERATOR_H 17 18 18 19 // An iterator can be used to traverse a data structure. … … 38 39 39 40 forall( otype iterator_type, otype elt_type | iterator( iterator_type, elt_type ) ) 40 void for_each( iterator_type begin, iterator_type end, void (* 41 void for_each( iterator_type begin, iterator_type end, void (*func)( elt_type ) ); 41 42 42 43 forall( otype iterator_type, otype elt_type | iterator( iterator_type, elt_type ) ) 43 void for_each_reverse( iterator_type begin, iterator_type end, void (* func)( elt_type ) ); 44 void for_each_reverse( iterator_type begin, iterator_type end, void (*func)( elt_type ) ); 45 46 #endif // ITERATOR_H 44 47 45 48 // Local Variables: //
Note:
See TracChangeset
for help on using the changeset viewer.