Cleanup iterators
This commit is contained in:
3
base.cpp
3
base.cpp
@@ -422,6 +422,3 @@ operator!=(Intern_String a, Intern_String b){
|
||||
#define For_Linked_List(a) For_Linked_List_Named(a,it)
|
||||
#define For_Named(a,it) for(auto &it : (a))
|
||||
#define For(a) For_Named((a),it)
|
||||
|
||||
#define Iter_Named(list, it) for(auto it = iterate(list); should_we_continue(&it); advance(&it))
|
||||
#define Iter(list) Iter_Named(list, it)
|
||||
|
||||
Reference in New Issue
Block a user