According to the cppreference.com reference site on std::shufle, the following method is being deprecated in c++14:
template< class RandomIt >
void random_shuffle( RandomIt first, RandomIt last );
Why will we no longer be able to call the following function without passing a third parameter?
std::random_shuffle(v.begin(),v.end()); //no longer valid in c++14
It doesn't appear as though a different function deceleration has a default parameter set. What is the reason behind this? Was there some kind of alternative added?
See Question&Answers more detail:os