occt: master 7021de2f

Author Committer Branch Timestamp Parent
ddzama smoskvin master 2022-03-30 12:30:01 master e455c54b
Affected Issues  0032909: Coding Rules - replace (removed from C++17) `std::random_shuffle` with `std::shuffle` for random permutation algorithm
Changeset 0032909: Coding Rules - replace (removed from C++17) `std::random_shuffle` with `std::shuffle` for random permutation algorithm

Since C++17 the accessible version of permutation function left the function:

template< class RandomIt, class URBG >
void shuffle( RandomIt first, RandomIt last, URBG&& g );

See details and example of use: https://en.cppreference.com/w/cpp/algorithm/random_shuffle
mod - src/QANCollection/QANCollection_Stl.cxx Diff File