aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/misc/variant.h
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-05-31 21:49:01 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-05-31 21:49:01 +0300
commitceb13dcc40dd5e11c8e3189b3c15b3bd5897d4ac (patch)
treeeda501e07fcaba4f64bc3d29725472162f2e4227 /library/cpp/yt/misc/variant.h
parent5b69557e440e6ac18399a29076fef25602859f17 (diff)
downloadydb-ceb13dcc40dd5e11c8e3189b3c15b3bd5897d4ac.tar.gz
intermediate changes
ref:85306a27df0004d13faf777131d0b092370e6b90
Diffstat (limited to 'library/cpp/yt/misc/variant.h')
-rw-r--r--library/cpp/yt/misc/variant.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/library/cpp/yt/misc/variant.h b/library/cpp/yt/misc/variant.h
index 27c0a2bc08..21e16ec60e 100644
--- a/library/cpp/yt/misc/variant.h
+++ b/library/cpp/yt/misc/variant.h
@@ -6,26 +6,6 @@ namespace NYT {
////////////////////////////////////////////////////////////////////////////////
-namespace NDetail {
-
-template <class T, class... Ts>
-struct TIndexOf;
-
-} // namespace NDetail
-
-template <class T, class V>
-struct TVariantIndex;
-
-template <class T, class... Ts>
-struct TVariantIndex<T, std::variant<Ts...>>
- : std::integral_constant<size_t, NDetail::TIndexOf<T, Ts...>::Value>
-{ };
-
-template <class T, class V>
-constexpr size_t VariantIndexV = TVariantIndex<T, V>::value;
-
-////////////////////////////////////////////////////////////////////////////////
-
class TStringBuilderBase;
template <class... Ts>