Lines Matching full:hash

271 // - a bad hash functor (an integral type in place of a hash);
272 // - an allocator in place of a hash functor;
279 using Hash = std::hash<int>; in UnorderedContainerDeductionGuidesSfinaeAway() local
307 // (iter, iter, buckets, hash) in UnorderedContainerDeductionGuidesSfinaeAway()
309 // Cannot deduce from (BAD_iter, BAD_iter, buckets, hash) in UnorderedContainerDeductionGuidesSfinaeAway()
310 static_assert(SFINAEs_away<Container, BadIter, BadIter, std::size_t, Hash>); in UnorderedContainerDeductionGuidesSfinaeAway()
312 SFINAEs_away<Container, OutputIter, OutputIter, std::size_t, Hash>); in UnorderedContainerDeductionGuidesSfinaeAway()
318 // (iter, iter, buckets, hash, pred) in UnorderedContainerDeductionGuidesSfinaeAway()
320 // Cannot deduce from (BAD_iter, BAD_iter, buckets, hash, pred) in UnorderedContainerDeductionGuidesSfinaeAway()
321 static_assert(SFINAEs_away<Container, BadIter, BadIter, std::size_t, Hash, Pred>); in UnorderedContainerDeductionGuidesSfinaeAway()
323 SFINAEs_away<Container, OutputIter, OutputIter, std::size_t, Hash, Pred>); in UnorderedContainerDeductionGuidesSfinaeAway()
328 // Note: (iter, iter, buckets, hash, ALLOC_as_pred) is allowed -- it just in UnorderedContainerDeductionGuidesSfinaeAway()
329 // calls (iter, iter, buckets, hash, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
331 // (iter, iter, buckets, hash, pred, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
333 // Cannot deduce from (BAD_iter, BAD_iter, buckets, hash, pred, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
335 SFINAEs_away<Container, BadIter, BadIter, std::size_t, Hash, Pred, Alloc>); in UnorderedContainerDeductionGuidesSfinaeAway()
337 std::size_t, Hash, Pred, Alloc>); in UnorderedContainerDeductionGuidesSfinaeAway()
343 // Cannot deduce from (iter, iter, buckets, hash, ALLOC_as_pred, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
345 SFINAEs_away<Container, Iter, Iter, std::size_t, Hash, AllocAsPred, Alloc>); in UnorderedContainerDeductionGuidesSfinaeAway()
346 // Cannot deduce from (iter, iter, buckets, hash, pred, BAD_alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
348 SFINAEs_away<Container, Iter, Iter, std::size_t, Hash, Pred, BadAlloc>); in UnorderedContainerDeductionGuidesSfinaeAway()
357 // buckets, hash), which is valid because the only requirement for the hash in UnorderedContainerDeductionGuidesSfinaeAway()
368 // (iter, iter, buckets, hash, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
370 // Cannot deduce from (BAD_iter, BAD_iter, buckets, hash, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
371 static_assert(SFINAEs_away<Container, BadIter, BadIter, std::size_t, Hash, Alloc>); in UnorderedContainerDeductionGuidesSfinaeAway()
373 SFINAEs_away<Container, OutputIter, OutputIter, std::size_t, Hash, Alloc>); in UnorderedContainerDeductionGuidesSfinaeAway()
378 // Note: (iter, iter, buckets, hash, BAD_alloc) is interpreted as (iter, iter, in UnorderedContainerDeductionGuidesSfinaeAway()
379 // buckets, hash, pred), which is valid because there are no requirements for in UnorderedContainerDeductionGuidesSfinaeAway()
382 // (init_list, buckets, hash) in UnorderedContainerDeductionGuidesSfinaeAway()
389 // (init_list, buckets, hash, pred) in UnorderedContainerDeductionGuidesSfinaeAway()
395 // Note: (init_list, buckets, hash, ALLOC_as_pred) is interpreted as in UnorderedContainerDeductionGuidesSfinaeAway()
396 // (init_list, buckets, hash, alloc), which is valid. in UnorderedContainerDeductionGuidesSfinaeAway()
398 // (init_list, buckets, hash, pred, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
406 // Cannot deduce from (init_list, buckets, hash, ALLOC_as_pred, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
408 SFINAEs_away<Container, InitList, std::size_t, Hash, AllocAsPred, Alloc>); in UnorderedContainerDeductionGuidesSfinaeAway()
409 // Cannot deduce from (init_list, buckets, hash, pred, BAD_alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
411 SFINAEs_away<Container, InitList, std::size_t, Hash, Pred, BadAlloc>); in UnorderedContainerDeductionGuidesSfinaeAway()
416 // buckets, hash), which is valid because the only requirement for the hash in UnorderedContainerDeductionGuidesSfinaeAway()
419 // (init_list, buckets, hash, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
449 // (from_range, range, buckets, hash) in UnorderedContainerDeductionGuidesSfinaeAway()
451 // Can deduce from (from_range, range, buckets, hash) in UnorderedContainerDeductionGuidesSfinaeAway()
452 static_assert(!SFINAEs_away<Container, std::from_range_t, Range, std::size_t, Hash>); in UnorderedContainerDeductionGuidesSfinaeAway()
453 // Cannot deduce from (from_range, BAD_range, buckets, hash) in UnorderedContainerDeductionGuidesSfinaeAway()
454 static_assert(SFINAEs_away<Container, std::from_range_t, BadRange, std::size_t, Hash>); in UnorderedContainerDeductionGuidesSfinaeAway()
458 // (from_range, range, buckets, hash, pred) in UnorderedContainerDeductionGuidesSfinaeAway()
460 // Can deduce from (from_range, range, buckets, hash, pred) in UnorderedContainerDeductionGuidesSfinaeAway()
461 static_assert(!SFINAEs_away<Container, std::from_range_t, Range, std::size_t, Hash, Pred>); in UnorderedContainerDeductionGuidesSfinaeAway()
462 // Cannot deduce from (from_range, BAD_range, buckets, hash, pred) in UnorderedContainerDeductionGuidesSfinaeAway()
463 static_assert(SFINAEs_away<Container, std::from_range_t, BadRange, std::size_t, Hash, Pred>); in UnorderedContainerDeductionGuidesSfinaeAway()
467 // (from_range, range, buckets, hash, pred, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
469 // Can deduce from (from_range, range, buckets, hash, pred, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
470 static_assert(!SFINAEs_away<Container, std::from_range_t, Range, std::size_t, Hash, Pred, Alloc>); in UnorderedContainerDeductionGuidesSfinaeAway()
471 // Cannot deduce from (from_range, BAD_range, buckets, hash, pred, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
472 …static_assert(SFINAEs_away<Container, std::from_range_t, BadRange, std::size_t, Hash, Pred, Alloc>… in UnorderedContainerDeductionGuidesSfinaeAway()
475 // Cannot deduce from (from_range, range, buckets, hash, pred, BAD_alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
476 …static_assert(SFINAEs_away<Container, std::from_range_t, Range, std::size_t, Hash, Pred, BadAlloc>… in UnorderedContainerDeductionGuidesSfinaeAway()
484 …ge, range, buckets, BAD_alloc) is interpreted as (from_range, range, buckets, hash), which is valid in UnorderedContainerDeductionGuidesSfinaeAway()
485 // because the only requirement for the hash parameter is that it's not integral. in UnorderedContainerDeductionGuidesSfinaeAway()
497 // (from_range, range, buckets, hash, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
499 // Can deduce from (from_range, range, buckets, hash, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
500 static_assert(!SFINAEs_away<Container, std::from_range_t, Range, std::size_t, Hash, Alloc>); in UnorderedContainerDeductionGuidesSfinaeAway()
501 // Cannot deduce from (from_range, BAD_range, buckets, hash, alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
502 static_assert(SFINAEs_away<Container, std::from_range_t, BadRange, std::size_t, Hash, Alloc>); in UnorderedContainerDeductionGuidesSfinaeAway()
507 // Cannot deduce from (from_range, range, buckets, hash, BAD_alloc) in UnorderedContainerDeductionGuidesSfinaeAway()
508 …// Note: (from_range, range, buckets, hash, BAD_alloc) is interpreted as (from_range, range, bucke… in UnorderedContainerDeductionGuidesSfinaeAway()