[libcxx-commits] [libcxx] [libc++] Reland LWG2921 and LWG2976 (PR #107960)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Sep 10 05:42:28 PDT 2024
================
@@ -1460,8 +1460,10 @@ public:
_LIBCPP_HIDE_FROM_ABI __packaged_task_function() _NOEXCEPT : __f_(nullptr) {}
template <class _Fp>
_LIBCPP_HIDE_FROM_ABI __packaged_task_function(_Fp&& __f);
+# if _LIBCPP_STD_VER <= 14
----------------
ldionne wrote:
Since this is an implementation detail, we can provide it unconditionally IMO. We can guard only the public part of the API under a `_LIBCPP_STD_VER` check.
https://github.com/llvm/llvm-project/pull/107960
More information about the libcxx-commits
mailing list