Lines Matching refs:swap
262 HashSet(std::move(other)).swap(*this);
267 HashSet(other).swap(*this); // NOLINT(runtime/explicit) - a case of lint gone mad.
406 void swap(HashSet& other) { in swap() function
408 using std::swap; in swap()
409 swap(allocfn_, other.allocfn_); in swap()
410 swap(hashfn_, other.hashfn_); in swap()
411 swap(emptyfn_, other.emptyfn_); in swap()
412 swap(pred_, other.pred_); in swap()
413 std::swap(data_, other.data_); in swap()
414 std::swap(num_buckets_, other.num_buckets_); in swap()
415 std::swap(num_elements_, other.num_elements_); in swap()
416 std::swap(elements_until_expand_, other.elements_until_expand_); in swap()
417 std::swap(min_load_factor_, other.min_load_factor_); in swap()
418 std::swap(max_load_factor_, other.max_load_factor_); in swap()
419 std::swap(owns_data_, other.owns_data_); in swap()
474 std::swap(temp, element); in Verify()
480 std::swap(temp, element); in Verify()
680 void swap(HashSet<T, EmptyFn, HashFn, Pred, Alloc>& lhs, in swap() function
682 lhs.swap(rhs); in swap()