summaryrefslogtreecommitdiffstats
path: root/libcxx/include/algorithm
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2014-03-03 06:14:19 +0000
committerMarshall Clow <mclow.lists@gmail.com>2014-03-03 06:14:19 +0000
commit06965c1fd0fc9994917c569eadc8c17c42d4f0b9 (patch)
tree0d7bc8017ab5155ea5dcb492a9a270d0e616862c /libcxx/include/algorithm
parent6a640a18a48e147a16b4f329f0f4e272e681a3e3 (diff)
downloadbcm5719-llvm-06965c1fd0fc9994917c569eadc8c17c42d4f0b9.tar.gz
bcm5719-llvm-06965c1fd0fc9994917c569eadc8c17c42d4f0b9.zip
Per N3924, mark random_shuffle as deprecated in the synopsis for <algorithm>. Since we don't actually do anything when a call is deprecated, there is no functionality change. Maybe someday, we'll decide to warn when using a deprecated function.
llvm-svn: 202672
Diffstat (limited to 'libcxx/include/algorithm')
-rw-r--r--libcxx/include/algorithm5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm
index b022f317f64..303ec7d7f4c 100644
--- a/libcxx/include/algorithm
+++ b/libcxx/include/algorithm
@@ -281,11 +281,12 @@ template <class ForwardIterator, class OutputIterator>
template <class RandomAccessIterator>
void
- random_shuffle(RandomAccessIterator first, RandomAccessIterator last);
+ random_shuffle(RandomAccessIterator first, RandomAccessIterator last); // deprecated in C++14
template <class RandomAccessIterator, class RandomNumberGenerator>
void
- random_shuffle(RandomAccessIterator first, RandomAccessIterator last, RandomNumberGenerator& rand);
+ random_shuffle(RandomAccessIterator first, RandomAccessIterator last,
+ RandomNumberGenerator& rand); // deprecated in C++14
template<class RandomAccessIterator, class UniformRandomNumberGenerator>
void shuffle(RandomAccessIterator first, RandomAccessIterator last,
OpenPOWER on IntegriCloud