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:
parent
97a7c22955
commit
38660e87f0
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user