]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Deduce function_ref<M&() noexcept> from member object pointers.
authorTomasz Kamiński <tkaminsk@redhat.com>
Mon, 20 Oct 2025 13:19:43 +0000 (15:19 +0200)
committerTomasz Kamiński <tkaminsk@redhat.com>
Mon, 20 Oct 2025 15:42:19 +0000 (17:42 +0200)
commit7dcfe017679f624a5ed4ab8bec56d0943bcfa10c
tree54e756fd67b81552619ecd59f8459684c41d799f
parentc3a37c4d5fe55878f81601fd16f1ce5259f4162f
libstdc++: Deduce function_ref<M&() noexcept> from member object pointers.

Implement resolution of LWG4425.

libstdc++-v3/ChangeLog:

* include/bits/funcwrap.h (__polyfunc::__deduce_funcref):
Adjust signature produced for member object pointers.
* testsuite/20_util/function_ref/deduction.cc: Update tests.
libstdc++-v3/include/bits/funcwrap.h
libstdc++-v3/testsuite/20_util/function_ref/deduction.cc