| 120 | // Swap non-member function template (optional) |
| 121 | template <typename T> |
| 122 | void swap(Array<T>& one, Array<T>& other) noexcept |
| 123 | { |
| 124 | one.swap(other); // Forward to public member function |
| 125 | } |
| 126 | |
| 127 | // push_back() overload for lvalue references |
| 128 | template <typename T> |