Searched refs:IsTypeCompatible (Results 1 – 3 of 3) sorted by relevance
31 EXPECT_TRUE(val.IsTypeCompatible<int>()); in TEST()36 EXPECT_TRUE(val2.IsTypeCompatible<double>()); in TEST()37 EXPECT_FALSE(val2.IsTypeCompatible<int>()); in TEST()41 EXPECT_TRUE(val3.IsTypeCompatible<std::string>()); in TEST()60 EXPECT_TRUE(val.IsTypeCompatible<double>()); in TEST()87 EXPECT_TRUE(val2.IsTypeCompatible<std::vector<int>>()); in TEST()91 EXPECT_TRUE(val.IsTypeCompatible<std::vector<int>>()); in TEST()92 EXPECT_TRUE(val2.IsTypeCompatible<std::vector<int>>()); in TEST()143 EXPECT_FALSE(val.IsTypeCompatible<char*>()); in TEST()144 EXPECT_TRUE(val.IsTypeCompatible<const char*>()); in TEST()[all …]
77 bool IsTypeCompatible() const { in IsTypeCompatible() function119 CHECK(IsTypeCompatible<T>()) in Get()130 if (!IsTypeCompatible<T>()) { in GetValue()143 if (!IsTypeCompatible<T>()) in GetPtr()153 if (!IsTypeCompatible<T>()) in TryGet()
198 if (!value.IsTypeCompatible<T>()) { in SetValue()