[libcxx-commits] [libcxx] [libc++] Implement P2988R12: `std::optional<T&>` (PR #155202)
William Tran-Viet via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Aug 25 22:18:35 PDT 2025
================
@@ -919,20 +937,38 @@ public:
return std::move(this->__get());
}
- template <class _Up>
+ template <class _Up = remove_cv_t<_Tp>>
----------------
smallp-o-p wrote:
Here it is: https://github.com/llvm/llvm-project/pull/155356
https://github.com/llvm/llvm-project/pull/155202
More information about the libcxx-commits
mailing list