Skip to content

Commit d243672

Browse files
jensmaurerzygoloid
authored andcommitted
Apply P1452R2 On the non-uniform semantics of return-type-requirements
to newly-introduced return type requirements.
1 parent 30e601f commit d243672

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/lib-intro.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -718,8 +718,8 @@
718718
constexpr auto @\placeholdernc{synth-three-way}@ =
719719
[]<class T, class U>(const T& t, const U& u)
720720
requires requires {
721-
{ t < u } -> bool;
722-
{ u < t } -> bool;
721+
{ t < u } -> ConvertibleTo<bool>;
722+
{ u < t } -> ConvertibleTo<bool>;
723723
}
724724
{
725725
if constexpr (ThreeWayComparableWith<T, U>) {

0 commit comments

Comments
 (0)