diff options
author | kartynnik <kartynnik@yandex-team.ru> | 2022-02-10 16:48:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:07 +0300 |
commit | ca2a705e6e39e85df30054d7e806e572de9cfe23 (patch) | |
tree | fb7cc52bc2579366b2796a24f91f6df7a223f9ab /util/generic/va_args.cpp | |
parent | e20e2b362f0232ed5a389db887e6e27e7763af18 (diff) | |
download | ydb-ca2a705e6e39e85df30054d7e806e572de9cfe23.tar.gz |
Restoring authorship annotation for <kartynnik@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/va_args.cpp')
-rw-r--r-- | util/generic/va_args.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util/generic/va_args.cpp b/util/generic/va_args.cpp index 2266d05a0d..dd8c18ea6c 100644 --- a/util/generic/va_args.cpp +++ b/util/generic/va_args.cpp @@ -1,15 +1,15 @@ -#include "va_args.h" - -// Test that it compiles -#define __DUMMY__(x) +#include "va_args.h" + +// Test that it compiles +#define __DUMMY__(x) Y_MAP_ARGS(__DUMMY__, 1, 2, 3); -#define __DUMMY_LAST__(x) +#define __DUMMY_LAST__(x) Y_MAP_ARGS_WITH_LAST(__DUMMY__, __DUMMY_LAST__, 1, 2, 3); #undef __DUMMY_LAST__ #undef __DUMMY__ - -#define __MULTI_DUMMY__(x, y) -#define __MULTI_DUMMY_PROXY__(x) __MULTI_DUMMY__ x + +#define __MULTI_DUMMY__(x, y) +#define __MULTI_DUMMY_PROXY__(x) __MULTI_DUMMY__ x Y_MAP_ARGS(__MULTI_DUMMY_PROXY__, (1, 2), (3, 4)); #undef __MULTI_DUMMY_PROXY__ #undef __MULTI_DUMMY__ |