Searched refs:DerivedType (Results 1 – 1 of 1) sorted by relevance
22 struct DerivedType : BaseType { struct24 DerivedType(int value) : BaseType{value} {}; in DerivedType() argument995 Variant<std::unique_ptr<DerivedType>, int> v( in TEST()996 std::make_unique<DerivedType>(10)); in TEST()997 ASSERT_TRUE(v.is<std::unique_ptr<DerivedType>>()); in TEST()998 const DerivedType* original_v = in TEST()999 std::get<std::unique_ptr<DerivedType>>(v).get(); in TEST()1003 EXPECT_TRUE(IfAnyOf<std::unique_ptr<DerivedType>>::Take(&v, &u)); in TEST()1004 ASSERT_TRUE(v.is<std::unique_ptr<DerivedType>>()); in TEST()1005 EXPECT_TRUE(std::get<std::unique_ptr<DerivedType>>(v) == nullptr); in TEST()