![]() |
ATLAS Offline Software
|
Preprocessor utilities. More...
Go to the source code of this file.
Macros | |
| #define | CXXUTILS_PP_FIRST(...) |
| #define | CXXUTILS_PP_ARG1(...) |
| #define | CXXUTILS_PP_ARG1_(A, ...) |
| #define | CXXUTILS_PP_SECOND(...) |
| #define | CXXUTILS_PP_ARG2(...) |
| #define | CXXUTILS_PP_ARG2_(A, ...) |
| #define | CXXUTILS_PP_THIRD(...) |
| #define | CXXUTILS_PP_ARG3(...) |
| #define | CXXUTILS_PP_ARG3_(A, ...) |
| #define | CXXUTILS_PP_FOURTH(...) |
| #define | CXXUTILS_PP_ARG4(...) |
| #define | CXXUTILS_PP_ARG4_(A, ...) |
| #define | CXXUTILS_PP_FIFTH(...) |
| #define | CXXUTILS_PP_ARG5(...) |
| #define | CXXUTILS_PP_ARG5_(A, ...) |
Preprocessor utilities.
Given an argument list of arbitrary length, CXXUTILS_PP_FIRST returns a comma followed by the first argument if it exists; otherwise, it expands to nothing. CXXUTILS_PP_SECOND does the same thing for the second argument, and so on through @CXXUTILS_PP_FIFTH.
That is:
CXXUTILS_PP_ARG1 through CXXUTILS_PP_ARG5 are also available as synonyms that may be more useful if these are used through the expansion of other macros.
Definition in file pputils.h.
| #define CXXUTILS_PP_ARG1 | ( | ... | ) |
| #define CXXUTILS_PP_ARG1_ | ( | A, | |
| ... ) |
| #define CXXUTILS_PP_ARG2 | ( | ... | ) |
| #define CXXUTILS_PP_ARG2_ | ( | A, | |
| ... ) |
| #define CXXUTILS_PP_ARG3 | ( | ... | ) |
| #define CXXUTILS_PP_ARG3_ | ( | A, | |
| ... ) |
| #define CXXUTILS_PP_ARG4 | ( | ... | ) |
| #define CXXUTILS_PP_ARG4_ | ( | A, | |
| ... ) |
| #define CXXUTILS_PP_ARG5 | ( | ... | ) |
| #define CXXUTILS_PP_ARG5_ | ( | A, | |
| ... ) |
| #define CXXUTILS_PP_FIFTH | ( | ... | ) |
| #define CXXUTILS_PP_FIRST | ( | ... | ) |
| #define CXXUTILS_PP_FOURTH | ( | ... | ) |
| #define CXXUTILS_PP_SECOND | ( | ... | ) |
| #define CXXUTILS_PP_THIRD | ( | ... | ) |