aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-07-25 18:38:46 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-07-27 12:47:39 +0100
commit2da38b6a8896bff08db78e6587d6142b898c8730 (patch)
tree73ca5c8e822893b484f6cf339be1077ac63d6190
parente69456ff9a54ba3e9c93842b05757b7d8fff6d9d (diff)
downloadgcc-2da38b6a8896bff08db78e6587d6142b898c8730.zip
gcc-2da38b6a8896bff08db78e6587d6142b898c8730.tar.gz
gcc-2da38b6a8896bff08db78e6587d6142b898c8730.tar.bz2
libstdc++: Add comment noting LWG 3617 support
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.
-rw-r--r--libstdc++-v3/include/bits/std_function.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/include/bits/std_function.h b/libstdc++-v3/include/bits/std_function.h
index 79b5946..bb8d8b9 100644
--- a/libstdc++-v3/include/bits/std_function.h
+++ b/libstdc++-v3/include/bits/std_function.h
@@ -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...); };