set容器的构造和赋值
黑马223#include#include#includeusing namespace std;void printSet(sets){for (set::iterator it = s.begin(); it != s.end(); it++){cout << *it << " ";}cout << endl;}void test01(){sets;s.insert(10);s.ins