[libcxx-commits] [libcxx] [libc++] Make `std::reference_constructs_from_temporary` SFINAE friendly when the 1st template argument is not a reference type (PR #206679)

Yihan Wang via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 2 01:12:12 PDT 2026


yronglin wrote:

> I'm not convinced this is worth the complexity. This adds a workaround for older compilers, so this will be obsolete in a year anyways, and for that it's way too complicated of a fix IMO.

I found this issue when I working on https://github.com/llvm/llvm-project/pull/205379, If we don't want this workaround, I'd like to disable the failed tests for old compilers in https://github.com/llvm/llvm-project/pull/205379. WDYT?

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


More information about the libcxx-commits mailing list