summaryrefslogtreecommitdiff
path: root/absl/types
diff options
context:
space:
mode:
authorGravatar Hao Peng <github@meizun.org>2022-10-01 08:00:30 +0000
committerGravatar Hao Peng <github@meizun.org>2022-10-01 08:00:30 +0000
commit98f9a61187e161fe3375783cae8ef7fb2e5dd716 (patch)
tree444d316fa36ae60351b23f956bcc7116a9da14f8 /absl/types
parent7f3c0d781134d25b24e0b55346482a2d366bf59b (diff)
chore: Remove unused helper ConversionIsPossible.
Diffstat (limited to 'absl/types')
-rw-r--r--absl/types/internal/variant.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/absl/types/internal/variant.h b/absl/types/internal/variant.h
index 9adea563..4dab2ae3 100644
--- a/absl/types/internal/variant.h
+++ b/absl/types/internal/variant.h
@@ -868,18 +868,6 @@ struct IsNeitherSelfNorInPlace<Self, in_place_type_t<T>> : std::false_type {};
template <class Self, std::size_t I>
struct IsNeitherSelfNorInPlace<Self, in_place_index_t<I>> : std::false_type {};
-template <class Variant, class T, class = void>
-struct ConversionIsPossibleImpl : std::false_type {};
-
-template <class Variant, class T>
-struct ConversionIsPossibleImpl<
- Variant, T,
- void_t<decltype(ImaginaryFun<Variant>::Run(std::declval<T>(), {}))>>
- : std::true_type {};
-
-template <class Variant, class T>
-struct ConversionIsPossible : ConversionIsPossibleImpl<Variant, T>::type {};
-
template <class Variant, class T>
struct IndexOfConstructedType<
Variant, T,