aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/va_args.h
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/generic/va_args.h
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/va_args.h')
-rw-r--r--util/generic/va_args.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/generic/va_args.h b/util/generic/va_args.h
index 90eb5c17ad..33498d47ed 100644
--- a/util/generic/va_args.h
+++ b/util/generic/va_args.h
@@ -16,7 +16,7 @@
* Used merely for working around an MSVC++ bug.
* See http://stackoverflow.com/questions/5134523/msvc-doesnt-expand-va-args-correctly
*/
-#define Y_PASS_VA_ARGS(x) x
+#define Y_PASS_VA_ARGS(x) x
/**
* Count number of arguments in `__VA_ARGS__`.
@@ -768,16 +768,16 @@
/**
* Macros for implementing overload by number of arguments.
- *
+ *
* Example usage:
- *
+ *
* @code{cpp}
* #define I1(arg1) Cout << Y_STRINGIZE(arg1) << Endl;
* #define I2(arg1, arg2) Cout << Y_STRINGIZE(arg1) << ';' << Y_STRINGIZE(arg2) << Endl;
- *
+ *
* #define Y_PRINT(...) Y_PASS_VA_ARGS(Y_MACRO_IMPL_DISPATCHER_2(__VA_ARGS__, I2, I1)(__VA_ARGS__))
- * @endcode
- */
+ * @endcode
+ */
/// @{
#define Y_MACRO_IMPL_DISPATCHER_2(_0, _1, IMPL, ...) IMPL
#define Y_MACRO_IMPL_DISPATCHER_3(_0, _1, _2, IMPL, ...) IMPL