cpp/memory/weak ptr/swap

Exchanges the stored pointer values and the ownerships of and. Reference counts, if any, are not adjusted.

Return value
(none)