Searched refs:IsConstructible (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/vr/libpdx/ |
D | variant_tests.cpp | 1109 TEST(Variant, IsConstructible) { in TEST() argument 1123 EXPECT_FALSE((detail::IsConstructible<bool, ArrayType>::value)); in TEST() 1124 EXPECT_TRUE((detail::IsConstructible<bool, int>::value)); in TEST() 1125 EXPECT_TRUE((detail::IsConstructible<bool, ImplicitBool>::value)); in TEST() 1126 EXPECT_TRUE((detail::IsConstructible<bool, ExplicitBool>::value)); in TEST() 1127 EXPECT_FALSE((detail::IsConstructible<bool, NonBool>::value)); in TEST() 1128 EXPECT_TRUE((detail::IsConstructible<TwoArgs, int, bool>::value)); in TEST() 1129 EXPECT_FALSE((detail::IsConstructible<TwoArgs, int, std::string>::value)); in TEST() 1130 EXPECT_FALSE((detail::IsConstructible<TwoArgs, int>::value)); in TEST()
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | variant.h | 40 struct IsConstructible; 42 struct IsConstructible<T, U> 48 struct IsConstructible<T, Args...> : std::is_constructible<T, Args...> {}; 53 typename std::enable_if<IsConstructible<T, Args...>::value, R>::type; 57 typename std::enable_if<!IsConstructible<T, Args...>::value, R>::type; 89 : std::integral_constant<std::size_t, IsConstructible<To, From>::value> {}; 93 IsConstructible<First, From>::value +
|