stl set to vector code example
Example: convert set to vector c++
#include <set>
#include <vector>
std::vector<int> some_vector(some_set.begin(), some_set.end());
#include <set>
#include <vector>
std::vector<int> some_vector(some_set.begin(), some_set.end());