Lines Matching refs:Hash
26 template <class Hash, class Key, class InputKey = Key>
35 template <class Hash, class Key>
131 template <class Hash, class Key, class InputKey>
135 static_assert(std::is_destructible<Hash>::value, ""); in test_hash_enabled()
137 static_assert(std::is_default_constructible<Hash>::value, ""); in test_hash_enabled()
138 static_assert(std::is_copy_constructible<Hash>::value, ""); in test_hash_enabled()
139 static_assert(std::is_move_constructible<Hash>::value, ""); in test_hash_enabled()
140 static_assert(std::is_copy_assignable<Hash>::value, ""); in test_hash_enabled()
141 static_assert(std::is_move_assignable<Hash>::value, ""); in test_hash_enabled()
144 static_assert(std::is_swappable<Hash>::value, ""); in test_hash_enabled()
146 static_assert(std::__is_swappable<Hash>::value, ""); in test_hash_enabled()
150 static_assert(can_hash<Hash(Key&)>(), ""); in test_hash_enabled()
151 static_assert(can_hash<Hash(Key const&)>(), ""); in test_hash_enabled()
152 static_assert(can_hash<Hash(Key&&)>(), ""); in test_hash_enabled()
153 static_assert(can_hash<Hash const&(Key&)>(), ""); in test_hash_enabled()
154 static_assert(can_hash<Hash const&(Key const&)>(), ""); in test_hash_enabled()
155 static_assert(can_hash<Hash const&(Key&&)>(), ""); in test_hash_enabled()
157 static_assert(can_hash<Hash(ConvertibleToSimple<Key>&)>(), ""); in test_hash_enabled()
158 static_assert(can_hash<Hash(ConvertibleToSimple<Key> const&)>(), ""); in test_hash_enabled()
159 static_assert(can_hash<Hash(ConvertibleToSimple<Key>&&)>(), ""); in test_hash_enabled()
161 static_assert(can_hash<Hash(ConvertibleTo<Key>&)>(), ""); in test_hash_enabled()
162 static_assert(can_hash<Hash(ConvertibleTo<Key> const&)>(), ""); in test_hash_enabled()
163 static_assert(can_hash<Hash(ConvertibleTo<Key> &&)>(), ""); in test_hash_enabled()
164 static_assert(can_hash<Hash(ConvertibleTo<Key> const&&)>(), ""); in test_hash_enabled()
166 const Hash h{}; in test_hash_enabled()
171 template <class Hash, class Key>
176 static_assert(!std::is_default_constructible<Hash>::value, ""); in test_hash_disabled()
177 static_assert(!std::is_copy_constructible<Hash>::value, ""); in test_hash_disabled()
178 static_assert(!std::is_move_constructible<Hash>::value, ""); in test_hash_disabled()
179 static_assert(!std::is_copy_assignable<Hash>::value, ""); in test_hash_disabled()
180 static_assert(!std::is_move_assignable<Hash>::value, ""); in test_hash_disabled()
184 typename std::remove_reference<Hash>::type in test_hash_disabled()
189 static_assert(!can_hash<Hash(Key&)>(), ""); in test_hash_disabled()
190 static_assert(!can_hash<Hash(Key const&)>(), ""); in test_hash_disabled()
191 static_assert(!can_hash<Hash(Key&&)>(), ""); in test_hash_disabled()
192 static_assert(!can_hash<Hash const&(Key&)>(), ""); in test_hash_disabled()
193 static_assert(!can_hash<Hash const&(Key const&)>(), ""); in test_hash_disabled()
194 static_assert(!can_hash<Hash const&(Key&&)>(), ""); in test_hash_disabled()
196 static_assert(!can_hash<Hash(ConvertibleToSimple<Key>&)>(), ""); in test_hash_disabled()
197 static_assert(!can_hash<Hash(ConvertibleToSimple<Key> const&)>(), ""); in test_hash_disabled()
198 static_assert(!can_hash<Hash(ConvertibleToSimple<Key>&&)>(), ""); in test_hash_disabled()
200 static_assert(!can_hash<Hash(ConvertibleTo<Key>&)>(), ""); in test_hash_disabled()
201 static_assert(!can_hash<Hash(ConvertibleTo<Key> const&)>(), ""); in test_hash_disabled()
202 static_assert(!can_hash<Hash(ConvertibleTo<Key> &&)>(), ""); in test_hash_disabled()
203 static_assert(!can_hash<Hash(ConvertibleTo<Key> const&&)>(), ""); in test_hash_disabled()