Category "shuffle"

How to shuffle a std::vector?

I am looking for a generic, reusable way to shuffle a std::vector in C++. This is how I currently do it, but I think it's not very efficient because it needs an

Shuffle button is not working in react native using track-player

I am using react-native-track-player in my existing project, the issue is when user clicks on shuffle button then every time it's playing next song, I'm adding