partition_point gets the P0202 treatment
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@322493 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -321,7 +321,7 @@ template <class ForwardIterator, class Predicate>
|
||||
stable_partition(ForwardIterator first, ForwardIterator last, Predicate pred);
|
||||
|
||||
template<class ForwardIterator, class Predicate>
|
||||
ForwardIterator
|
||||
ForwardIterator // constexpr in C++20
|
||||
partition_point(ForwardIterator first, ForwardIterator last, Predicate pred);
|
||||
|
||||
template <class ForwardIterator>
|
||||
@@ -3328,7 +3328,7 @@ partition_copy(_InputIterator __first, _InputIterator __last,
|
||||
// partition_point
|
||||
|
||||
template<class _ForwardIterator, class _Predicate>
|
||||
_ForwardIterator
|
||||
_LIBCPP_CONSTEXPR_AFTER_CXX17 _ForwardIterator
|
||||
partition_point(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred)
|
||||
{
|
||||
typedef typename iterator_traits<_ForwardIterator>::difference_type difference_type;
|
||||
|
||||
Reference in New Issue
Block a user