Skip to content

Commit d5be236

Browse files
committed
Apply P1452R2 On the non-uniform semantics of return-type-requirements
to newly-introduced return type requirements.
1 parent 434005b commit d5be236

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
@@ -724,8 +724,8 @@
724724
constexpr auto @\placeholdernc{synth-three-way}@ =
725725
[]<class T, class U>(const T& t, const U& u)
726726
requires requires {
727-
{ t < u } -> bool;
728-
{ u < t } -> bool;
727+
{ t < u } -> ConvertibleTo<bool>;
728+
{ u < t } -> ConvertibleTo<bool>;
729729
}
730730
{
731731
if constexpr (ThreeWayComparableWith<T, U>) {

0 commit comments

Comments
 (0)