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

153 Views Asked by At

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.

Is this the case?

0

There are 0 best solutions below