void swap(array& y) noexcept(is_nothrow_swappable_v<T>);
Effects: Equivalent to swap_Βranges(begin(), end(), y.begin()).
[βNote: Unlike the swap function for other containers, arrayβ::βswap takes linear time, may exit via an exception, and does not cause iterators to become associated with the other container. βββend noteβ]