File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4601
4601
\begin {codeblock }
4602
4602
template<class T, class U, class Cat = partial_ordering>
4603
4603
concept @\deflibconcept {three_way_comparable_with}@ =
4604
- @\exposconcept {weakly-equality-comparable-with}@<T, U> &&
4605
- @\exposconcept {partially-ordered-with}@<T, U> &&
4606
4604
three_way_comparable<T, Cat> &&
4607
4605
three_way_comparable<U, Cat> &&
4608
4606
common_reference_with<const remove_reference_t<T>&, const remove_reference_t<U>&> &&
4609
4607
three_way_comparable<
4610
4608
common_reference_t<const remove_reference_t<T>&, const remove_reference_t<U>&>, Cat> &&
4609
+ @\exposconcept {weakly-equality-comparable-with}@<T, U> &&
4610
+ @\exposconcept {partially-ordered-with}@<T, U> &&
4611
4611
requires(const remove_reference_t<T>& t, const remove_reference_t<U>& u) {
4612
4612
{ t <=> u } -> @\exposconcept {compares-as}@<Cat>;
4613
4613
{ u <=> t } -> @\exposconcept {compares-as}@<Cat>;
You can’t perform that action at this time.
0 commit comments