Using For from Array
This commit is contained in:
2
base.cpp
2
base.cpp
@@ -440,5 +440,3 @@ operator!=(Intern_String a, Intern_String b) {
|
||||
|
||||
#define For_Linked_List_Named(a, it) for (auto *it = (a); it; it = it->next) // @todo: reference?
|
||||
#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)
|
||||
|
||||
Reference in New Issue
Block a user