D | unroll.h | 12 #define UNROLL(N, MACRO, args...) CONCATENATE(__UNROLL_, N)(MACRO, args) argument 14 #define __UNROLL_0(MACRO, args...) argument 15 #define __UNROLL_1(MACRO, args...) __UNROLL_0(MACRO, args) MACRO(0, args) argument 16 #define __UNROLL_2(MACRO, args...) __UNROLL_1(MACRO, args) MACRO(1, args) argument 17 #define __UNROLL_3(MACRO, args...) __UNROLL_2(MACRO, args) MACRO(2, args) argument 18 #define __UNROLL_4(MACRO, args...) __UNROLL_3(MACRO, args) MACRO(3, args) argument 19 #define __UNROLL_5(MACRO, args...) __UNROLL_4(MACRO, args) MACRO(4, args) argument 20 #define __UNROLL_6(MACRO, args...) __UNROLL_5(MACRO, args) MACRO(5, args) argument 21 #define __UNROLL_7(MACRO, args...) __UNROLL_6(MACRO, args) MACRO(6, args) argument 22 #define __UNROLL_8(MACRO, args...) __UNROLL_7(MACRO, args) MACRO(7, args) argument [all …]
|