cpp/memory/shared ptr/swap2/example