From Jason Turner

[string.view.comparison]

Diff to HTML by rtfpessoa

tmp/tmpq8gbpdfh/{from.md → to.md} RENAMED
@@ -57,10 +57,13 @@ template<class charT, class traits>
57
  template<class charT, class traits>
58
  constexpr see below operator<=>(basic_string_view<charT, traits> lhs,
59
  \itcorr basic_string_view<charT, traits> rhs) noexcept;
60
  ```
61
 
62
- Let `R` denote the type `traits::comparison_category` if it exists,
63
- otherwise `R` is `weak_ordering`.
 
 
 
64
 
65
  *Returns:* `static_cast<R>(lhs.compare(rhs) <=> 0)`.
66
 
 
57
  template<class charT, class traits>
58
  constexpr see below operator<=>(basic_string_view<charT, traits> lhs,
59
  \itcorr basic_string_view<charT, traits> rhs) noexcept;
60
  ```
61
 
62
+ Let `R` denote the type `traits::comparison_category` if that
63
+ *qualified-id* is valid and denotes a type [[temp.deduct]], otherwise
64
+ `R` is `weak_ordering`.
65
+
66
+ *Mandates:* `R` denotes a comparison category type [[cmp.categories]].
67
 
68
  *Returns:* `static_cast<R>(lhs.compare(rhs) <=> 0)`.
69