From 98f9a61187e161fe3375783cae8ef7fb2e5dd716 Mon Sep 17 00:00:00 2001 From: Hao Peng Date: Sat, 1 Oct 2022 08:00:30 +0000 Subject: chore: Remove unused helper ConversionIsPossible. --- absl/types/internal/variant.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'absl/types') 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> : std::false_type {}; template struct IsNeitherSelfNorInPlace> : std::false_type {}; -template -struct ConversionIsPossibleImpl : std::false_type {}; - -template -struct ConversionIsPossibleImpl< - Variant, T, - void_t::Run(std::declval(), {}))>> - : std::true_type {}; - -template -struct ConversionIsPossible : ConversionIsPossibleImpl::type {}; - template struct IndexOfConstructedType< Variant, T, -- cgit v1.2.3