Lines Matching refs:ImplicitlyConvertible
261 using testing::internal::ImplicitlyConvertible;
7480 // Tests that ImplicitlyConvertible<T1, T2>::value is a compile-time constant.
7482 GTEST_COMPILE_ASSERT_((ImplicitlyConvertible<int, int>::value), const_true);
7483 GTEST_COMPILE_ASSERT_((!ImplicitlyConvertible<void*, int*>::value),
7487 // Tests that ImplicitlyConvertible<T1, T2>::value is true when T1 can
7490 EXPECT_TRUE((ImplicitlyConvertible<int, double>::value));
7491 EXPECT_TRUE((ImplicitlyConvertible<double, int>::value));
7492 EXPECT_TRUE((ImplicitlyConvertible<int*, void*>::value));
7493 EXPECT_TRUE((ImplicitlyConvertible<int*, const int*>::value));
7494 EXPECT_TRUE((ImplicitlyConvertible<ConversionHelperDerived&,
7496 EXPECT_TRUE((ImplicitlyConvertible<const ConversionHelperBase,
7500 // Tests that ImplicitlyConvertible<T1, T2>::value is false when T1
7503 EXPECT_FALSE((ImplicitlyConvertible<double, int*>::value));
7504 EXPECT_FALSE((ImplicitlyConvertible<void*, int*>::value));
7505 EXPECT_FALSE((ImplicitlyConvertible<const int*, int*>::value));
7506 EXPECT_FALSE((ImplicitlyConvertible<ConversionHelperBase&,