Searched refs:TryGet (Results 1 – 4 of 4) sorted by relevance
152 T TryGet(typename std::decay<T>::type const& def_val) const { in TryGet() function161 T TryGet() const { in TryGet() function162 return TryGet<T>(typename std::decay<T>::type()); in TryGet()
254 TEST(Any, TryGet) { in TEST() argument257 EXPECT_EQ("dummy", val.TryGet<std::string>("dummy")); in TEST()258 EXPECT_EQ(12, val.TryGet<int>(17)); in TEST()259 EXPECT_EQ(17, empty.TryGet<int>(17)); in TEST()
28 return it->second.TryGet<T>(); in GetVariantValueOrDefault()
405 bool TryGet(void **res) { in TryGet() function