Lines Matching defs:swap
89 void swap(String &) noexcept;
98 friend void swap(String &lhs, String &rhs) noexcept { lhs.swap(rhs); }
144 void swap(Str &) noexcept;
200 void swap(Slice &) noexcept;
278 void swap(Box &) noexcept;
294 friend void swap(Box &lhs, Box &rhs) noexcept { lhs.swap(rhs); }
350 void swap(Vec &) noexcept;
360 friend void swap(Vec &lhs, Vec &rhs) noexcept { lhs.swap(rhs); }
711 void Slice<T>::swap(Slice &rhs) noexcept {
712 std::swap(*this, rhs);
805 void Box<T>::swap(Box &rhs) noexcept {
806 using std::swap;
807 swap(this->ptr, rhs.ptr);
995 void Vec<T>::swap(Vec &rhs) noexcept {
996 using std::swap;
997 swap(this->repr, rhs.repr);