c++ swap global and local vector?

后端 未结 0 1221
孤独总比滥情好
孤独总比滥情好 2021-02-19 09:08

I want to swap a global vector and a local vector, and my question is the local vector is on he stack.The swap operator will exchange two vector by pointer, so after swap, the g

相关标签:
回答
  • 消灭零回复
提交回复
热议问题