根据http://www.cplusplus.com/reference/vector/vector/swap/,交换两个向量内的元素仅具有恒定的复杂性。这是如何实施的?
c++ vector
c++ ×1
vector ×1