Lines Matching refs:swap
310 HashSet(std::move(other)).swap(*this); // NOLINT [runtime/explicit] [5]
315 HashSet(other).swap(*this); // NOLINT(runtime/explicit) - a case of lint gone mad.
467 void swap(HashSet& other) { in swap() function
469 using std::swap; in swap()
470 swap(allocfn_, other.allocfn_); in swap()
471 swap(hashfn_, other.hashfn_); in swap()
472 swap(emptyfn_, other.emptyfn_); in swap()
473 swap(pred_, other.pred_); in swap()
474 std::swap(data_, other.data_); in swap()
475 std::swap(num_buckets_, other.num_buckets_); in swap()
476 std::swap(num_elements_, other.num_elements_); in swap()
477 std::swap(elements_until_expand_, other.elements_until_expand_); in swap()
478 std::swap(min_load_factor_, other.min_load_factor_); in swap()
479 std::swap(max_load_factor_, other.max_load_factor_); in swap()
480 std::swap(owns_data_, other.owns_data_); in swap()
535 std::swap(temp, element); in Verify()
541 std::swap(temp, element); in Verify()
753 void swap(HashSet<T, EmptyFn, HashFn, Pred, Alloc>& lhs, in swap() function
755 lhs.swap(rhs); in swap()