Implement P0253R1: Fixing a design mistake in the searchers interface.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@262928 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
// Hash hf = Hash(), BinaryPredicate pred = BinaryPredicate());
|
||||
//
|
||||
// template<class RandomAccessIterator2>
|
||||
// RandomAccessIterator2
|
||||
// pair<RandomAccessIterator2, RandomAccessIterator2>
|
||||
// operator()(RandomAccessIterator2 first, RandomAccessIterator2 last) const;
|
||||
//
|
||||
// private:
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// Hash hf = Hash(), BinaryPredicate pred = BinaryPredicate());
|
||||
//
|
||||
// template<class RandomAccessIterator2>
|
||||
// RandomAccessIterator2
|
||||
// pair<RandomAccessIterator2, RandomAccessIterator2>
|
||||
// operator()(RandomAccessIterator2 first, RandomAccessIterator2 last) const;
|
||||
//
|
||||
// private:
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// Hash hf = Hash(), BinaryPredicate pred = BinaryPredicate());
|
||||
//
|
||||
// template<class RandomAccessIterator2>
|
||||
// RandomAccessIterator2
|
||||
// pair<RandomAccessIterator2, RandomAccessIterator2>
|
||||
// operator()(RandomAccessIterator2 first, RandomAccessIterator2 last) const;
|
||||
//
|
||||
// private:
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// Hash hf = Hash(), BinaryPredicate pred = BinaryPredicate());
|
||||
//
|
||||
// template<class RandomAccessIterator2>
|
||||
// RandomAccessIterator2
|
||||
// pair<RandomAccessIterator2, RandomAccessIterator2>
|
||||
// operator()(RandomAccessIterator2 first, RandomAccessIterator2 last) const;
|
||||
//
|
||||
// private:
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// Hash hf = Hash(), BinaryPredicate pred = BinaryPredicate());
|
||||
//
|
||||
// template<class RandomAccessIterator2>
|
||||
// RandomAccessIterator2
|
||||
// pair<RandomAccessIterator2, RandomAccessIterator2>
|
||||
// operator()(RandomAccessIterator2 first, RandomAccessIterator2 last) const;
|
||||
//
|
||||
// private:
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// Hash hf = Hash(), BinaryPredicate pred = BinaryPredicate());
|
||||
//
|
||||
// template<class RandomAccessIterator2>
|
||||
// RandomAccessIterator2
|
||||
// pair<RandomAccessIterator2, RandomAccessIterator2>
|
||||
// operator()(RandomAccessIterator2 first, RandomAccessIterator2 last) const;
|
||||
//
|
||||
// private:
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// Hash hf = Hash(), BinaryPredicate pred = BinaryPredicate());
|
||||
//
|
||||
// template<class RandomAccessIterator2>
|
||||
// RandomAccessIterator2
|
||||
// pair<RandomAccessIterator2, RandomAccessIterator2>
|
||||
// operator()(RandomAccessIterator2 first, RandomAccessIterator2 last) const;
|
||||
//
|
||||
// private:
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// Hash hf = Hash(), BinaryPredicate pred = BinaryPredicate());
|
||||
//
|
||||
// template<class RandomAccessIterator2>
|
||||
// RandomAccessIterator2
|
||||
// pair<RandomAccessIterator2, RandomAccessIterator2>
|
||||
// operator()(RandomAccessIterator2 first, RandomAccessIterator2 last) const;
|
||||
//
|
||||
// private:
|
||||
|
||||
@@ -20,7 +20,8 @@
|
||||
// : __first_(__f), __last_(__l), __pred_(__p) {}
|
||||
//
|
||||
// template <typename _ForwardIterator2>
|
||||
// _ForwardIterator2 operator () (_ForwardIterator2 __f, _ForwardIterator2 __l) const {
|
||||
// pair<_ForwardIterator2, _ForwardIterator2>
|
||||
// operator () (_ForwardIterator2 __f, _ForwardIterator2 __l) const {
|
||||
// return std::search(__f, __l, __first_, __last_, __pred_);
|
||||
// }
|
||||
//
|
||||
|
||||
@@ -20,7 +20,8 @@
|
||||
// : __first_(__f), __last_(__l), __pred_(__p) {}
|
||||
//
|
||||
// template <typename _ForwardIterator2>
|
||||
// _ForwardIterator2 operator () (_ForwardIterator2 __f, _ForwardIterator2 __l) const {
|
||||
// pair<_ForwardIterator2, _ForwardIterator2>
|
||||
// operator () (_ForwardIterator2 __f, _ForwardIterator2 __l) const {
|
||||
// return std::search(__f, __l, __first_, __last_, __pred_);
|
||||
// }
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user