* testsuite/20_util/function_objects/range.cmp/equal_to.cc: Fix
comment.
* testsuite/20_util/function_objects/range.cmp/less.ccL Likewise.
2020-02-09 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/20_util/function_objects/range.cmp/equal_to.cc: Fix
+ comment.
+ * testsuite/20_util/function_objects/range.cmp/less.ccL Likewise.
+
* include/std/ranges: Fix non-ASCII characters in comment.
* include/bits/range_cmp.h (__detail::__eq_builtin_ptr_cmp): Require
operator int() const;
};
-// X{} == X{} is ambiguous so ranges::equal_to{}(X{}, X{}) should be invalid
+// Y{} == Y{} is ambiguous so ranges::equal_to{}(Y{}, Y{}) should be invalid
static_assert( !std::is_invocable_v<F&, Y, Y> );
int
operator int() const;
};
-// X{} == X{} is ambiguous so ranges::less{}(X{}, X{}) should be invalid
+// Y{} == Y{} is ambiguous so ranges::less{}(Y{}, Y{}) should be invalid
static_assert( !std::is_invocable_v<F&, Y, Y> );
int