summaryrefslogtreecommitdiff
path: root/libcxx/include/algorithm
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2024-10-01 12:59:36 -0400
committerLouis Dionne <ldionne.2@gmail.com>2024-10-01 13:00:29 -0400
commit5366bf5b6642f826b2f69a3083a63727d9de771b (patch)
treee211da898c6e2b8fd5d8640a04598a39f2e433b0 /libcxx/include/algorithm
parenta5dfcccd58c96de013939974d71cadc18c50b84e (diff)
[libc++][NFC] Improve the synopsis of <algorithm>
Diffstat (limited to 'libcxx/include/algorithm')
-rw-r--r--libcxx/include/algorithm24
1 files changed, 12 insertions, 12 deletions
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm
index 17d63ce0cf1c..14355d63f290 100644
--- a/libcxx/include/algorithm
+++ b/libcxx/include/algorithm
@@ -1237,9 +1237,9 @@ template <class InputIterator1, class InputIterator2>
mismatch(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2);
template <class InputIterator1, class InputIterator2>
- constexpr pair<InputIterator1, InputIterator2> // constexpr in C++20
+ constexpr pair<InputIterator1, InputIterator2>
mismatch(InputIterator1 first1, InputIterator1 last1,
- InputIterator2 first2, InputIterator2 last2); // **C++14**
+ InputIterator2 first2, InputIterator2 last2); // since C++14, constexpr in C++20
template <class InputIterator1, class InputIterator2, class BinaryPredicate>
constexpr pair<InputIterator1, InputIterator2> // constexpr in C++20
@@ -1247,19 +1247,19 @@ template <class InputIterator1, class InputIterator2, class BinaryPredicate>
InputIterator2 first2, BinaryPredicate pred);
template <class InputIterator1, class InputIterator2, class BinaryPredicate>
- constexpr pair<InputIterator1, InputIterator2> // constexpr in C++20
+ constexpr pair<InputIterator1, InputIterator2>
mismatch(InputIterator1 first1, InputIterator1 last1,
InputIterator2 first2, InputIterator2 last2,
- BinaryPredicate pred); // **C++14**
+ BinaryPredicate pred); // since C++14, constexpr in C++20
template <class InputIterator1, class InputIterator2>
constexpr bool // constexpr in C++20
equal(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2);
template <class InputIterator1, class InputIterator2>
- constexpr bool // constexpr in C++20
+ constexpr bool
equal(InputIterator1 first1, InputIterator1 last1,
- InputIterator2 first2, InputIterator2 last2); // **C++14**
+ InputIterator2 first2, InputIterator2 last2); // since C++14, constexpr in C++20
template <class InputIterator1, class InputIterator2, class BinaryPredicate>
constexpr bool // constexpr in C++20
@@ -1267,10 +1267,10 @@ template <class InputIterator1, class InputIterator2, class BinaryPredicate>
InputIterator2 first2, BinaryPredicate pred);
template <class InputIterator1, class InputIterator2, class BinaryPredicate>
- constexpr bool // constexpr in C++20
+ constexpr bool
equal(InputIterator1 first1, InputIterator1 last1,
InputIterator2 first2, InputIterator2 last2,
- BinaryPredicate pred); // **C++14**
+ BinaryPredicate pred); // since C++14, constexpr in C++20
template<class ForwardIterator1, class ForwardIterator2>
constexpr bool // constexpr in C++20
@@ -1278,9 +1278,9 @@ template<class ForwardIterator1, class ForwardIterator2>
ForwardIterator2 first2);
template<class ForwardIterator1, class ForwardIterator2>
- constexpr bool // constexpr in C++20
+ constexpr bool
is_permutation(ForwardIterator1 first1, ForwardIterator1 last1,
- ForwardIterator2 first2, ForwardIterator2 last2); // **C++14**
+ ForwardIterator2 first2, ForwardIterator2 last2); // since C++14, constexpr in C++20
template<class ForwardIterator1, class ForwardIterator2, class BinaryPredicate>
constexpr bool // constexpr in C++20
@@ -1288,10 +1288,10 @@ template<class ForwardIterator1, class ForwardIterator2, class BinaryPredicate>
ForwardIterator2 first2, BinaryPredicate pred);
template<class ForwardIterator1, class ForwardIterator2, class BinaryPredicate>
- constexpr bool // constexpr in C++20
+ constexpr bool
is_permutation(ForwardIterator1 first1, ForwardIterator1 last1,
ForwardIterator2 first2, ForwardIterator2 last2,
- BinaryPredicate pred); // **C++14**
+ BinaryPredicate pred); // since C++14, constexpr in C++20
template <class ForwardIterator1, class ForwardIterator2>
constexpr ForwardIterator1 // constexpr in C++20