cpp/memory/weak ptr/swap2