[libcxx-commits] [libcxx] [libc++] Implement P4206R0 Revert string support in std::constant_wrapper (PR #203338)

Yihan Wang via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jun 21 23:31:18 PDT 2026


================
@@ -202,78 +178,80 @@ struct __cw_operators {
 
   template <__constexpr_param _Lp, __constexpr_param _Rp>
   [[nodiscard]] _LIBCPP_HIDE_FROM_ABI friend constexpr auto operator->*(_Lp, _Rp) noexcept
-      -> constant_wrapper<(_Lp::value->*_Rp::value)> {
+      -> constant_wrapper<auto(_Lp::value->*_Rp::value)> {
----------------
yronglin wrote:

Done.

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


More information about the libcxx-commits mailing list