Lines Matching refs:swap
376 HashSet(std::move(other)).swap(*this); // NOLINT [runtime/explicit] [5]
381 HashSet(other).swap(*this); // NOLINT(runtime/explicit) - a case of lint gone mad.
561 void swap(HashSet& other) { in swap() function
563 using std::swap; in swap()
564 swap(allocfn_, other.allocfn_); in swap()
565 swap(hashfn_, other.hashfn_); in swap()
566 swap(emptyfn_, other.emptyfn_); in swap()
567 swap(pred_, other.pred_); in swap()
568 std::swap(data_, other.data_); in swap()
569 std::swap(num_buckets_, other.num_buckets_); in swap()
570 std::swap(num_elements_, other.num_elements_); in swap()
571 std::swap(elements_until_expand_, other.elements_until_expand_); in swap()
572 std::swap(min_load_factor_, other.min_load_factor_); in swap()
573 std::swap(max_load_factor_, other.max_load_factor_); in swap()
574 std::swap(owns_data_, other.owns_data_); in swap()
629 std::swap(temp, element); in Verify()
635 std::swap(temp, element); in Verify()
860 void swap(HashSet<T, EmptyFn, HashFn, Pred, Alloc>& lhs, in swap() function
862 lhs.swap(rhs); in swap()