摘要:
http://stackoverflow.com/questions/11632219/c-preprocessor-macro-specialisation-based-on-an-argumentTuns out it is possible. This anwser is based on Pauls macros, but much simpler and does not need definition for each user.#define CAT(a,...) PRIMITIVE_CAT(a, __VA_ARGS__)#define PRIMITIVE_CAT(a,..... 阅读全文