[libcxx-commits] [libcxx] [libc++] Make sure LWG2070 is implemented as a DR (PR #65998)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 14 12:09:51 PDT 2023


ldionne wrote:

The CI has passed and I think I've addressed the original comments on this, so I'll go ahead and merge this.

We did discuss the possibility of using `if constexpr` unconditionally instead of SFINAE since that is supported before C++17 as an extension. However, I tried that just now and this still causes problems because our test suite warns about using extensions in our headers. To unblock this, I'll go ahead and merge but I have a patch ready to go that NFC refactors this code back to `if constexpr`.

https://github.com/llvm/llvm-project/pull/65998


More information about the libcxx-commits mailing list