void DoSwap(std::vector v1, std::vector v2) { std::swap(v1, v2); } void DoMemberSwap(std::vector v1, std::vector v2) { v1.swap(v2); }