How to make sure that std::random_shuffle always produces a different result?

Viewed 6948

Is there some function, similar to srand(), that I need to call to make sure that std::random_shuffle() always produces different results? i.e. if I call it several times with the same data, I want the order to be different every time. How can I make sure of that?

6 Answers
Related