From c16f814525aa4b367b7fba54da993ce9c72e855f Mon Sep 17 00:00:00 2001 From: Hristo Hristov Date: Sun, 14 Jul 2024 19:33:40 +0300 Subject: [PATCH] Minor tweak --- .../indirect_binary_predicate.compile.pass.cpp | 2 +- .../indirect_equivalence_relation.compile.pass.cpp | 2 +- .../indirect_strict_weak_order.compile.pass.cpp | 2 +- .../indirectinvocable/indirect_unary_predicate.compile.pass.cpp | 2 +- .../indirectly_regular_unary_invocable.compile.pass.cpp | 2 +- .../indirectly_unary_invocable.compile.pass.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_binary_predicate.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_binary_predicate.compile.pass.cpp index 5058cbb06dabe1..76f38232b4e040 100644 --- a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_binary_predicate.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_binary_predicate.compile.pass.cpp @@ -76,7 +76,7 @@ struct BadPredicate5 { }; static_assert(!std::indirect_binary_predicate); -// P2997R1: Should succeed when the predicate can't be called with (iter_common_reference_t, iter_common_reference_t) +// This case was made valid by P2997R1. struct BadPredicate6 { template bool operator()(T const&, U const&) const; bool operator()(std::iter_common_reference_t, std::iter_common_reference_t) const = delete; diff --git a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_equivalence_relation.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_equivalence_relation.compile.pass.cpp index 20206db6c6eaf0..06a0291e439cc9 100644 --- a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_equivalence_relation.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_equivalence_relation.compile.pass.cpp @@ -91,7 +91,7 @@ struct BadRelation5 { }; static_assert(!std::indirect_equivalence_relation); -// P2997R1: Should succeed when the function can't be called with (iter_common_reference_t, iter_common_reference_t) +// This case was made valid by P2997R1. struct BadRelation6 { template bool operator()(T const&, U const&) const; bool operator()(std::iter_common_reference_t, std::iter_common_reference_t) const = delete; diff --git a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_strict_weak_order.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_strict_weak_order.compile.pass.cpp index 32bc3aef10057d..9ca335a98c550d 100644 --- a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_strict_weak_order.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_strict_weak_order.compile.pass.cpp @@ -91,7 +91,7 @@ struct BadOrder5 { }; static_assert(!std::indirect_strict_weak_order); -// P2997R1: Should succeed when the function can't be called with (iter_common_reference_t, iter_common_reference_t) +// This case was made valid by P2997R1. struct BadOrder6 { template bool operator()(T const&, U const&) const; bool operator()(std::iter_common_reference_t, std::iter_common_reference_t) const = delete; diff --git a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_unary_predicate.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_unary_predicate.compile.pass.cpp index 32b63d27b4eb1b..870f82cc8c3c02 100644 --- a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_unary_predicate.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_unary_predicate.compile.pass.cpp @@ -57,7 +57,7 @@ struct BadPredicate3 { }; static_assert(!std::indirect_unary_predicate); -// P2997R1: Should succeed when the predicate can't be called with std::iter_common_reference_t +// This case was made valid by P2997R1. struct BadPredicate4 { template bool operator()(T const&) const; bool operator()(std::iter_common_reference_t) const = delete; diff --git a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_regular_unary_invocable.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_regular_unary_invocable.compile.pass.cpp index 69b3909806ac89..5ebbba6e24861b 100644 --- a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_regular_unary_invocable.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_regular_unary_invocable.compile.pass.cpp @@ -56,7 +56,7 @@ struct BadInvocable3 { }; static_assert(!std::indirectly_regular_unary_invocable); -// P2997R1: Should succeed when the invocable can't be called with (iter_common_reference_t) +// This case was made valid by P2997R1. struct BadInvocable4 { template R1 operator()(T const&) const; R1 operator()(std::iter_common_reference_t) const = delete; diff --git a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_unary_invocable.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_unary_invocable.compile.pass.cpp index 06f9c72ec1053c..d6a26f50eb748a 100644 --- a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_unary_invocable.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_unary_invocable.compile.pass.cpp @@ -56,7 +56,7 @@ struct BadInvocable3 { }; static_assert(!std::indirectly_unary_invocable); -// P2997R1: Should succeed when the invocable can't be called with (iter_common_reference_t) +// This case was made valid by P2997R1. struct BadInvocable4 { template R1 operator()(T const&) const; R1 operator()(std::iter_common_reference_t) const = delete;