1#include <set>
2#include <vector>
3
4std::vector<int> some_vector(some_set.begin(), some_set.end());
1#include <set>
2std::set<std::string> set_name(vector_name.begin(), vector_name.end());
1set <int> convertToSet(vector<int> v)
2{
3 set<int> s(v.begin(),v.end());
4 return s;
5}
6