]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Add comment noting LWG 3617 support
authorJonathan Wakely <jwakely@redhat.com>
Thu, 25 Jul 2024 17:38:46 +0000 (18:38 +0100)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 28 Jul 2024 17:06:02 +0000 (19:06 +0200)
The resolution was implemented in r14-8752-g6f75149488b74a but I didn't
add the usual _GLIBCXX_RESOLVE_LIB_DEFECTS comment.

libstdc++-v3/ChangeLog:

* include/bits/std_function.h: Add comment about LWG 3617 being
supported.

libstdc++-v3/include/bits/std_function.h

index 79b59466fe9da656b5795a0c598bce877d493ee2..bb8d8b9306cd1614cb6ea7c3a7ac3139bb07e674 100644 (file)
@@ -698,6 +698,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     { using type = _Res(_Args...); };
 
 #if __cpp_explicit_this_parameter >= 202110L
+  // _GLIBCXX_RESOLVE_LIB_DEFECTS
+  // 3617. function/packaged_task deduction guides and deducing this
   template<typename _Res, typename _Tp, bool _Nx, typename... _Args>
     struct __function_guide_helper<_Res (*) (_Tp, _Args...) noexcept(_Nx)>
     { using type = _Res(_Args...); };