Lines Matching refs:is_hashable
65 using is_hashable = std::is_default_constructible<absl::Hash<T>>; typedef
68 EXPECT_TRUE((is_hashable<TypeParam>::value)); in TYPED_TEST_P()
94 EXPECT_TRUE((is_hashable<LegacyEnum>::value)); in TEST()
95 EXPECT_TRUE((is_hashable<EnumClass>::value)); in TEST()
96 EXPECT_TRUE((is_hashable<bool>::value)); in TEST()
107 EXPECT_TRUE((is_hashable<float>::value)); in TEST()
108 EXPECT_TRUE((is_hashable<double>::value)); in TEST()
109 EXPECT_TRUE((is_hashable<long double>::value)); in TEST()
129 EXPECT_TRUE((is_hashable<int*>::value)); in TEST()
170 EXPECT_TRUE((is_hashable<std::pair<int, int>>::value)); in TEST()
171 EXPECT_TRUE((is_hashable<std::pair<const int&, const int&>>::value)); in TEST()
172 EXPECT_TRUE((is_hashable<std::tuple<int&, int&>>::value)); in TEST()
173 EXPECT_TRUE((is_hashable<std::tuple<int&&, int&&>>::value)); in TEST()
227 EXPECT_TRUE((is_hashable<std::unique_ptr<int>>::value)); in TEST()
228 EXPECT_TRUE((is_hashable<std::unique_ptr<int, DummyDeleter>>::value)); in TEST()
229 EXPECT_TRUE((is_hashable<std::shared_ptr<int>>::value)); in TEST()
259 EXPECT_TRUE(is_hashable<Func>::value); in TEST()
290 EXPECT_TRUE((is_hashable<std::string>::value)); in TEST()
325 EXPECT_TRUE((is_hashable<std::wstring>::value)); in TEST()
334 EXPECT_TRUE((is_hashable<std::u16string>::value)); in TEST()
343 EXPECT_TRUE((is_hashable<std::u32string>::value)); in TEST()
352 EXPECT_TRUE((is_hashable<std::array<int, 3>>::value)); in TEST()
359 EXPECT_TRUE((is_hashable<std::bitset<257>>::value)); in TEST()
390 EXPECT_TRUE((is_hashable<TypeParam>::value)); in TYPED_TEST_P()
541 EXPECT_TRUE(is_hashable<Private>::value); in TEST()
547 EXPECT_TRUE(is_hashable<absl::optional<Private>>::value); in TEST()
556 EXPECT_TRUE(is_hashable<V>::value); in TEST()
563 EXPECT_FALSE(is_hashable<absl::variant<S>>::value); in TEST()
568 EXPECT_TRUE((is_hashable<std::map<int, std::string>>::value)); in TEST()
585 EXPECT_TRUE(is_hashable<std::reference_wrapper<Private>>::value); in TEST()
591 EXPECT_TRUE(is_hashable<std::reference_wrapper<int>>::value); in TEST()
617 EXPECT_TRUE((is_hashable<int>::value)); in TEST()
630 EXPECT_FALSE((is_hashable<X>::value)); in TEST()
769 EXPECT_TRUE(is_hashable<type>()); in TestCustomHashType()
770 EXPECT_TRUE(is_hashable<const type>()); in TestCustomHashType()
771 EXPECT_TRUE(is_hashable<const type&>()); in TestCustomHashType()
781 EXPECT_FALSE(is_hashable<type>()); in TestCustomHashType()
782 EXPECT_FALSE(is_hashable<const type>()); in TestCustomHashType()
783 EXPECT_FALSE(is_hashable<const type&>()); in TestCustomHashType()
946 EXPECT_TRUE((is_hashable<TypeErased>::value)); in TEST()
947 EXPECT_TRUE((is_hashable<std::pair<TypeErased, int>>::value)); in TEST()