From 674f9128b7520ad43d3358724baf0f89baeeda02 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Mon, 15 Jan 2018 17:53:34 +0000 Subject: partition_point gets the P0202 treatment llvm-svn: 322493 --- libcxx/include/algorithm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcxx/include/algorithm') diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm index 3d8bf7a4b3b..f357177e695 100644 --- a/libcxx/include/algorithm +++ b/libcxx/include/algorithm @@ -321,7 +321,7 @@ template stable_partition(ForwardIterator first, ForwardIterator last, Predicate pred); template - ForwardIterator + ForwardIterator // constexpr in C++20 partition_point(ForwardIterator first, ForwardIterator last, Predicate pred); template @@ -3328,7 +3328,7 @@ partition_copy(_InputIterator __first, _InputIterator __last, // partition_point template -_ForwardIterator +_LIBCPP_CONSTEXPR_AFTER_CXX17 _ForwardIterator partition_point(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { typedef typename iterator_traits<_ForwardIterator>::difference_type difference_type; -- cgit v1.2.3