[libcxx-commits] [PATCH] D132310: [libc++][regex] Uses operator<=> in sub_match.

Adrian Vogelsgesang via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Aug 20 13:09:34 PDT 2022


avogelsgesang added inline comments.


================
Comment at: libcxx/test/std/re/re.submatch/re.submatch.op/compare.pass.cpp:271
+#endif
     assert((x == sm2) == (x == y));
     assert((x != sm2) == (x != y));
----------------
missing

```
#if TEST_STD_VER > 17
    AssertOrderReturn<std::strong_ordering, std::basic_string<CharT>, submatch>();
#else
    AssertCompareReturnBool<std::basic_string<CharT>, submatch>();
#endif
```

same for the other comparisons


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132310/new/

https://reviews.llvm.org/D132310



More information about the libcxx-commits mailing list