Lines Matching refs:swap
358 HashSet(std::move(other)).swap(*this); // NOLINT [runtime/explicit] [5]
363 HashSet(other).swap(*this); // NOLINT(runtime/explicit) - a case of lint gone mad.
522 void swap(HashSet& other) { in swap() function
524 using std::swap; in swap()
525 swap(allocfn_, other.allocfn_); in swap()
526 swap(hashfn_, other.hashfn_); in swap()
527 swap(emptyfn_, other.emptyfn_); in swap()
528 swap(pred_, other.pred_); in swap()
529 std::swap(data_, other.data_); in swap()
530 std::swap(num_buckets_, other.num_buckets_); in swap()
531 std::swap(num_elements_, other.num_elements_); in swap()
532 std::swap(elements_until_expand_, other.elements_until_expand_); in swap()
533 std::swap(min_load_factor_, other.min_load_factor_); in swap()
534 std::swap(max_load_factor_, other.max_load_factor_); in swap()
535 std::swap(owns_data_, other.owns_data_); in swap()
590 std::swap(temp, element); in Verify()
596 std::swap(temp, element); in Verify()
817 void swap(HashSet<T, EmptyFn, HashFn, Pred, Alloc>& lhs, in swap() function
819 lhs.swap(rhs); in swap()