Lines Matching refs:swap
316 HashSet(std::move(other)).swap(*this); // NOLINT [runtime/explicit] [5]
321 HashSet(other).swap(*this); // NOLINT(runtime/explicit) - a case of lint gone mad.
480 void swap(HashSet& other) { in swap() function
482 using std::swap; in swap()
483 swap(allocfn_, other.allocfn_); in swap()
484 swap(hashfn_, other.hashfn_); in swap()
485 swap(emptyfn_, other.emptyfn_); in swap()
486 swap(pred_, other.pred_); in swap()
487 std::swap(data_, other.data_); in swap()
488 std::swap(num_buckets_, other.num_buckets_); in swap()
489 std::swap(num_elements_, other.num_elements_); in swap()
490 std::swap(elements_until_expand_, other.elements_until_expand_); in swap()
491 std::swap(min_load_factor_, other.min_load_factor_); in swap()
492 std::swap(max_load_factor_, other.max_load_factor_); in swap()
493 std::swap(owns_data_, other.owns_data_); in swap()
548 std::swap(temp, element); in Verify()
554 std::swap(temp, element); in Verify()
774 void swap(HashSet<T, EmptyFn, HashFn, Pred, Alloc>& lhs, in swap() function
776 lhs.swap(rhs); in swap()