[gcc r15-2357] libstdc++: Add comment noting LWG 3617 support
Jonathan Wakely
redi@gcc.gnu.org
Sat Jul 27 11:49:01 GMT 2024
https://gcc.gnu.org/g:2da38b6a8896bff08db78e6587d6142b898c8730
commit r15-2357-g2da38b6a8896bff08db78e6587d6142b898c8730
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Jul 25 18:38:46 2024 +0100
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.
Diff:
---
libstdc++-v3/include/bits/std_function.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libstdc++-v3/include/bits/std_function.h b/libstdc++-v3/include/bits/std_function.h
index 79b59466fe9d..bb8d8b9306cd 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...); };
More information about the Libstdc++-cvs
mailing list