Skip to content

Commit 67613cc

Browse files
committed
fixup! [libc++][NFC] Centralize test for support of == and != in ranges
Fix formatting issues.
1 parent 5d13a36 commit 67613cc

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

libcxx/test/support/test_range.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,12 @@ concept CanBePiped = requires(View&& view, T&& t) {
9797
};
9898

9999
template <class T, class U>
100-
concept weakly_equality_comparable_with = requires(const std::remove_reference_t<T>& t, const std::remove_reference_t<U>& u) {
101-
{ t == u } -> std::same_as<bool>;
102-
{ t != u } -> std::same_as<bool>;
103-
{ u == t } -> std::same_as<bool>;
104-
{ u != t } -> std::same_as<bool>;
105-
};
100+
concept weakly_equality_comparable_with =
101+
requires(const std::remove_reference_t<T>& t, const std::remove_reference_t<U>& u) {
102+
{ t == u } -> std::same_as<bool>;
103+
{ t != u } -> std::same_as<bool>;
104+
{ u == t } -> std::same_as<bool>;
105+
{ u != t } -> std::same_as<bool>;
106+
};
106107

107108
#endif // LIBCXX_TEST_SUPPORT_TEST_RANGE_H

0 commit comments

Comments
 (0)