C++ std::swap - Does it swap data or data pointers?

前端 未结 0 1087
余生分开走
余生分开走 2021-02-01 05:12

I\'m using std::swap with OLE BSTRs.

I would like to confirm that this function swaps the data pointers and not the strings themselves.

I

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