get randomly shuffled vector without modifying vector c++ code example
Example: shuffle vector c++
std::shuffle(container.begin(), container.end(), std::random_device());
std::shuffle(container.begin(), container.end(), std::random_device());