diff options
Diffstat (limited to 'absl/types')
-rw-r--r-- | absl/types/internal/variant.h | 12 |
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, |