set集合swap()函数运用实例

swap函数

语法:

swap()交换两个集合变量

源代码

测试代码

测试结果: