libstdc++: Fix names of types in comment

* testsuite/20_util/function_objects/range.cmp/equal_to.cc: Fix
	comment.
	* testsuite/20_util/function_objects/range.cmp/less.ccL Likewise.
This commit is contained in:
Jonathan Wakely 2020-02-09 13:58:16 +00:00
parent 97a7c22955
commit 38660e87f0
3 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
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

View File

@ -75,7 +75,7 @@ struct Y
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

View File

@ -80,7 +80,7 @@ struct Y
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