Remove random_shuffle in C++17. Please use shuffle instead. If you have to, you cant get it back by defining _LIBCPP_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE before including any libc++ headers.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@298597 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2017-03-23 13:43:37 +00:00
parent 46da6b8295
commit 03b862f6ea
4 changed files with 52 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
// <algorithm>
// REQUIRES-ANY: c++98, c++03, c++11, c++14
// template<RandomAccessIterator Iter>
// requires ShuffleIterator<Iter>

View File

@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
// <algorithm>
// REQUIRES-ANY: c++98, c++03, c++11, c++14
// template<RandomAccessIterator Iter, Callable<auto, Iter::difference_type> Rand>
// requires ShuffleIterator<Iter>