[libcxx-commits] [libcxx] [libc++] Implement LWG4072: std::optional comparisons: constrain harder (PR #209968)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Sep 5 19:50:58 PDT 2026
================
----------------
frederick-vs-ja wrote:
Mostly LGTM now. I think we should use the trait declared above. Same for other files.
IMO, in a follow-up PR, we should make these tested in C++17 mode.
```suggestion
if constexpr (has_cmp_lteq<const T&, const U&>) {
```
https://github.com/llvm/llvm-project/pull/209968
More information about the libcxx-commits
mailing list