Title / Description
Code #define DISPATCH( \ _01, _02, _03, _04, \ NAME, ... \ ) NAME #define MAP(FUNC,...) \ DISPATCH(__VA_ARGS__, \ MAP4, MAP3, MAP2, MAP1 \ )(FUNC,__VA_ARGS__) #define MAP1(F,X) F(X) #define MAP2(F,X,...) F(X)MAP1(F,__VA_ARGS__) #define MAP3(F,X,...) F(X)MAP2(F,__VA_ARGS__) #define MAP4(F,X,...) F(X)MAP3(F,__VA_ARGS__)
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code