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