diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-05-31 21:49:01 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-05-31 21:49:01 +0300 |
commit | ceb13dcc40dd5e11c8e3189b3c15b3bd5897d4ac (patch) | |
tree | eda501e07fcaba4f64bc3d29725472162f2e4227 /library/cpp/yt/misc/variant-inl.h | |
parent | 5b69557e440e6ac18399a29076fef25602859f17 (diff) | |
download | ydb-ceb13dcc40dd5e11c8e3189b3c15b3bd5897d4ac.tar.gz |
intermediate changes
ref:85306a27df0004d13faf777131d0b092370e6b90
Diffstat (limited to 'library/cpp/yt/misc/variant-inl.h')
-rw-r--r-- | library/cpp/yt/misc/variant-inl.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/library/cpp/yt/misc/variant-inl.h b/library/cpp/yt/misc/variant-inl.h index fb7d98d4be..01f0e08593 100644 --- a/library/cpp/yt/misc/variant-inl.h +++ b/library/cpp/yt/misc/variant-inl.h @@ -12,20 +12,6 @@ namespace NYT { namespace NDetail { -template <class T> -struct TIndexOf<T> -{ - static constexpr size_t Value = std::numeric_limits<size_t>::max(); -}; - -template <class T, class T0, class... Ts> -struct TIndexOf<T, T0, Ts...> -{ - static constexpr size_t Value = std::is_same_v<T, T0> - ? 0 - : 1 + TIndexOf<T, Ts...>::Value; -}; - template <size_t Index, class... Ts> struct TVariantFormatter; |