|
EzC
|
Macros for helping you write your own featureful macros. More...
Go to the source code of this file.
Macros | |
| #define | SST_MAP(f, ...) SST_EVAL(SST_MAP1(f, __VA_ARGS__, ()()(), ()()(), ()()(), 0)) |
| Map function to specified variables. More... | |
| #define | SST_MAP_LIST(f, ...) SST_EVAL(SST_MAP_LIST1(f, __VA_ARGS__, ()()(), ()()(), ()()(), 0)) |
| Map function to specified variables and return their results. More... | |
Macros for helping you write your own featureful macros.
All macros with the SST_ prefix are authored by William "swansontec" Swanson. The only modification made to his code is the adding of the aformentioned prefix to all his macros.
| #define SST_MAP | ( | f, | |
| ... | |||
| ) | SST_EVAL(SST_MAP1(f, __VA_ARGS__, ()()(), ()()(), ()()(), 0)) |
Map function to specified variables.
Applies the function macro f to each of the arguments.
| f | Function macro. |
| ... | Arguments to be passed to f. |
| #define SST_MAP_LIST | ( | f, | |
| ... | |||
| ) | SST_EVAL(SST_MAP_LIST1(f, __VA_ARGS__, ()()(), ()()(), ()()(), 0)) |
Map function to specified variables and return their results.
Applies the function macro f to each of the arguments and and inserts commas between the results.
| f | Function macro. |
| ... | Arguments to be passed to f. |
f for each arguments it was called with.
1.8.15