| 141 | // Swap non-member function template (optional) |
| 142 | template <typename T> |
| 143 | void swap(Array<T>& one, Array<T>& other) noexcept |
| 144 | { |
| 145 | one.swap(other); // Forward to public member function |
| 146 | } |
| 147 | |
| 148 | // push_back() overload for lvalue references |
| 149 | template <typename T> |