此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
swap
template<class T> void swap(T& x, T& y);
The template function leaves the value originally stored in y subsequently stored in x, and the value originally stored in x subsequently stored in y.
y
x