• Home
  • Raw
  • Download

Lines Matching refs:is_hashable

64 using is_hashable = std::is_default_constructible<absl::Hash<T>>;  typedef
67 EXPECT_TRUE((is_hashable<TypeParam>::value)); in TYPED_TEST_P()
93 EXPECT_TRUE((is_hashable<LegacyEnum>::value)); in TEST()
94 EXPECT_TRUE((is_hashable<EnumClass>::value)); in TEST()
95 EXPECT_TRUE((is_hashable<bool>::value)); in TEST()
106 EXPECT_TRUE((is_hashable<float>::value)); in TEST()
107 EXPECT_TRUE((is_hashable<double>::value)); in TEST()
108 EXPECT_TRUE((is_hashable<long double>::value)); in TEST()
128 EXPECT_TRUE((is_hashable<int*>::value)); in TEST()
169 EXPECT_TRUE((is_hashable<std::pair<int, int>>::value)); in TEST()
170 EXPECT_TRUE((is_hashable<std::pair<const int&, const int&>>::value)); in TEST()
171 EXPECT_TRUE((is_hashable<std::tuple<int&, int&>>::value)); in TEST()
172 EXPECT_TRUE((is_hashable<std::tuple<int&&, int&&>>::value)); in TEST()
226 EXPECT_TRUE((is_hashable<std::unique_ptr<int>>::value)); in TEST()
227 EXPECT_TRUE((is_hashable<std::unique_ptr<int, DummyDeleter>>::value)); in TEST()
228 EXPECT_TRUE((is_hashable<std::shared_ptr<int>>::value)); in TEST()
258 EXPECT_TRUE(is_hashable<Func>::value); in TEST()
273 EXPECT_TRUE((is_hashable<std::string>::value)); in TEST()
304 EXPECT_TRUE((is_hashable<std::wstring>::value)); in TEST()
313 EXPECT_TRUE((is_hashable<std::u16string>::value)); in TEST()
322 EXPECT_TRUE((is_hashable<std::u32string>::value)); in TEST()
331 EXPECT_TRUE((is_hashable<std::array<int, 3>>::value)); in TEST()
338 EXPECT_TRUE((is_hashable<std::bitset<257>>::value)); in TEST()
369 EXPECT_TRUE((is_hashable<TypeParam>::value)); in TYPED_TEST_P()
520 EXPECT_TRUE(is_hashable<Private>::value); in TEST()
526 EXPECT_TRUE(is_hashable<absl::optional<Private>>::value); in TEST()
535 EXPECT_TRUE(is_hashable<V>::value); in TEST()
542 EXPECT_FALSE(is_hashable<absl::variant<S>>::value); in TEST()
547 EXPECT_TRUE((is_hashable<std::map<int, std::string>>::value)); in TEST()
578 EXPECT_TRUE((is_hashable<int>::value)); in TEST()
591 EXPECT_FALSE((is_hashable<X>::value)); in TEST()
730 EXPECT_TRUE(is_hashable<type>()); in TestCustomHashType()
731 EXPECT_TRUE(is_hashable<const type>()); in TestCustomHashType()
732 EXPECT_TRUE(is_hashable<const type&>()); in TestCustomHashType()
742 EXPECT_FALSE(is_hashable<type>()); in TestCustomHashType()
743 EXPECT_FALSE(is_hashable<const type>()); in TestCustomHashType()
744 EXPECT_FALSE(is_hashable<const type&>()); in TestCustomHashType()
907 EXPECT_TRUE((is_hashable<TypeErased>::value)); in TEST()
908 EXPECT_TRUE((is_hashable<std::pair<TypeErased, int>>::value)); in TEST()