D | macros.h | 23 #define _PDX_INDIRECT_EXPAND(macro, args) macro args argument 55 #define _PDX_APPLY_1(macro, head, next, ...) \ argument 56 macro(head) _PDX_NEXT_FUNC(next, _PDX_APPLY_2)(macro, next, __VA_ARGS__) 59 #define _PDX_APPLY_2(macro, head, next, ...) \ argument 60 macro(head) _PDX_NEXT_FUNC(next, _PDX_APPLY_1)(macro, next, __VA_ARGS__) 64 #define _PDX_HANDLE_EMPTY_ARGS(macro, ...) \ argument 66 (macro, __VA_ARGS__, ()) 69 #define PDX_FOR_EACH(macro, ...) \ argument 70 _PDX_EXPAND(_PDX_HANDLE_EMPTY_ARGS(macro, __VA_ARGS__)) 74 #define _PDX_APPLY_LIST_1(macro, head, next, ...) \ argument [all …]
|