|
guanaqo
1.0.0-alpha.26
Utilities for scientific software
|
Token concatenation and argument-counting helpers.
Definition in file preprocessor.h.
Go to the source code of this file.
Macros | |
| #define | GUANAQO_CONCATENATE_TOKENS_IMPL(a, b) |
| #define | GUANAQO_CONCATENATE_TOKENS(a, b) |
| Concatenate the given tokens. | |
| #define | GUANAQO_NUM_ARGS_IMPL(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, N, ...) |
| #define | GUANAQO_NUM_ARGS(...) |
| #define | GUANAQO_JOIN_TOKENS_ARGS_CHOOSER(N) |
| #define | GUANAQO_JOIN_TOKENS(...) |
| Join the given tokens with underscores. | |
| #define | GUANAQO_JOIN_TOKENS_ARGS_1(x1) |
| #define | GUANAQO_JOIN_TOKENS_ARGS_2(x1, x2) |
| #define | GUANAQO_JOIN_TOKENS_ARGS_3(x1, x2, x3) |
| #define | GUANAQO_JOIN_TOKENS_ARGS_4(x1, x2, x3, x4) |
| #define | GUANAQO_JOIN_TOKENS_ARGS_5(x1, x2, x3, x4, x5) |
| #define | GUANAQO_JOIN_TOKENS_ARGS_6(x1, x2, x3, x4, x5, x6) |
| #define | GUANAQO_JOIN_TOKENS_ARGS_7(x1, x2, x3, x4, x5, x6, x7) |
| #define | GUANAQO_JOIN_TOKENS_ARGS_8(x1, x2, x3, x4, x5, x6, x7, x8) |
| #define | GUANAQO_JOIN_TOKENS_ARGS_9(x1, x2, x3, x4, x5, x6, x7, x8, x9) |
| #define | GUANAQO_JOIN_TOKENS_ARGS_10(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10) |
| #define | GUANAQO_JOIN_STRINGS_ARGS_CHOOSER(N) |
| #define | GUANAQO_JOIN_STRINGS(sep, ...) |
| Join the given strings with the given separator. | |
| #define | GUANAQO_JOIN_STRINGS_ARGS_1(sep, x1) |
| #define | GUANAQO_JOIN_STRINGS_ARGS_2(sep, x1, x2) |
| #define | GUANAQO_JOIN_STRINGS_ARGS_3(sep, x1, x2, x3) |
| #define | GUANAQO_JOIN_STRINGS_ARGS_4(sep, x1, x2, x3, x4) |
| #define | GUANAQO_JOIN_STRINGS_ARGS_5(sep, x1, x2, x3, x4, x5) |
| #define | GUANAQO_JOIN_STRINGS_ARGS_6(sep, x1, x2, x3, x4, x5, x6) |
| #define | GUANAQO_JOIN_STRINGS_ARGS_7(sep, x1, x2, x3, x4, x5, x6, x7) |
| #define | GUANAQO_JOIN_STRINGS_ARGS_8(sep, x1, x2, x3, x4, x5, x6, x7, x8) |
| #define | GUANAQO_JOIN_STRINGS_ARGS_9(sep, x1, x2, x3, x4, x5, x6, x7, x8, x9) |
| #define | GUANAQO_JOIN_STRINGS_ARGS_10(sep, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10) |
| #define | GUANAQO_NOOP() |
| A no-op statement (swallows a semicolon without causing warnings about empty statements). | |
| #define GUANAQO_CONCATENATE_TOKENS_IMPL | ( | a, | |
| b ) |
Definition at line 8 of file preprocessor.h.
| #define GUANAQO_NUM_ARGS_IMPL | ( | _1, | |
| _2, | |||
| _3, | |||
| _4, | |||
| _5, | |||
| _6, | |||
| _7, | |||
| _8, | |||
| _9, | |||
| _10, | |||
| N, | |||
| ... ) |
Definition at line 14 of file preprocessor.h.
| #define GUANAQO_NUM_ARGS | ( | ... | ) |
Definition at line 15 of file preprocessor.h.
| #define GUANAQO_JOIN_TOKENS_ARGS_CHOOSER | ( | N | ) |
Definition at line 19 of file preprocessor.h.
| #define GUANAQO_JOIN_TOKENS_ARGS_1 | ( | x1 | ) |
Definition at line 28 of file preprocessor.h.
| #define GUANAQO_JOIN_TOKENS_ARGS_2 | ( | x1, | |
| x2 ) |
Definition at line 29 of file preprocessor.h.
| #define GUANAQO_JOIN_TOKENS_ARGS_3 | ( | x1, | |
| x2, | |||
| x3 ) |
Definition at line 30 of file preprocessor.h.
| #define GUANAQO_JOIN_TOKENS_ARGS_4 | ( | x1, | |
| x2, | |||
| x3, | |||
| x4 ) |
Definition at line 31 of file preprocessor.h.
| #define GUANAQO_JOIN_TOKENS_ARGS_5 | ( | x1, | |
| x2, | |||
| x3, | |||
| x4, | |||
| x5 ) |
Definition at line 32 of file preprocessor.h.
| #define GUANAQO_JOIN_TOKENS_ARGS_6 | ( | x1, | |
| x2, | |||
| x3, | |||
| x4, | |||
| x5, | |||
| x6 ) |
Definition at line 33 of file preprocessor.h.
| #define GUANAQO_JOIN_TOKENS_ARGS_7 | ( | x1, | |
| x2, | |||
| x3, | |||
| x4, | |||
| x5, | |||
| x6, | |||
| x7 ) |
Definition at line 34 of file preprocessor.h.
| #define GUANAQO_JOIN_TOKENS_ARGS_8 | ( | x1, | |
| x2, | |||
| x3, | |||
| x4, | |||
| x5, | |||
| x6, | |||
| x7, | |||
| x8 ) |
Definition at line 35 of file preprocessor.h.
| #define GUANAQO_JOIN_TOKENS_ARGS_9 | ( | x1, | |
| x2, | |||
| x3, | |||
| x4, | |||
| x5, | |||
| x6, | |||
| x7, | |||
| x8, | |||
| x9 ) |
Definition at line 36 of file preprocessor.h.
| #define GUANAQO_JOIN_TOKENS_ARGS_10 | ( | x1, | |
| x2, | |||
| x3, | |||
| x4, | |||
| x5, | |||
| x6, | |||
| x7, | |||
| x8, | |||
| x9, | |||
| x10 ) |
Definition at line 37 of file preprocessor.h.
| #define GUANAQO_JOIN_STRINGS_ARGS_CHOOSER | ( | N | ) |
Definition at line 41 of file preprocessor.h.
| #define GUANAQO_JOIN_STRINGS_ARGS_1 | ( | sep, | |
| x1 ) |
Definition at line 51 of file preprocessor.h.
| #define GUANAQO_JOIN_STRINGS_ARGS_2 | ( | sep, | |
| x1, | |||
| x2 ) |
Definition at line 52 of file preprocessor.h.
| #define GUANAQO_JOIN_STRINGS_ARGS_3 | ( | sep, | |
| x1, | |||
| x2, | |||
| x3 ) |
Definition at line 53 of file preprocessor.h.
| #define GUANAQO_JOIN_STRINGS_ARGS_4 | ( | sep, | |
| x1, | |||
| x2, | |||
| x3, | |||
| x4 ) |
Definition at line 54 of file preprocessor.h.
| #define GUANAQO_JOIN_STRINGS_ARGS_5 | ( | sep, | |
| x1, | |||
| x2, | |||
| x3, | |||
| x4, | |||
| x5 ) |
Definition at line 55 of file preprocessor.h.
| #define GUANAQO_JOIN_STRINGS_ARGS_6 | ( | sep, | |
| x1, | |||
| x2, | |||
| x3, | |||
| x4, | |||
| x5, | |||
| x6 ) |
Definition at line 56 of file preprocessor.h.
| #define GUANAQO_JOIN_STRINGS_ARGS_7 | ( | sep, | |
| x1, | |||
| x2, | |||
| x3, | |||
| x4, | |||
| x5, | |||
| x6, | |||
| x7 ) |
Definition at line 57 of file preprocessor.h.
| #define GUANAQO_JOIN_STRINGS_ARGS_8 | ( | sep, | |
| x1, | |||
| x2, | |||
| x3, | |||
| x4, | |||
| x5, | |||
| x6, | |||
| x7, | |||
| x8 ) |
Definition at line 58 of file preprocessor.h.
| #define GUANAQO_JOIN_STRINGS_ARGS_9 | ( | sep, | |
| x1, | |||
| x2, | |||
| x3, | |||
| x4, | |||
| x5, | |||
| x6, | |||
| x7, | |||
| x8, | |||
| x9 ) |
Definition at line 59 of file preprocessor.h.
| #define GUANAQO_JOIN_STRINGS_ARGS_10 | ( | sep, | |
| x1, | |||
| x2, | |||
| x3, | |||
| x4, | |||
| x5, | |||
| x6, | |||
| x7, | |||
| x8, | |||
| x9, | |||
| x10 ) |
Definition at line 60 of file preprocessor.h.