[Bug libstdc++/105375] std::packaged_task has no deduction guide.

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 26 12:31:00 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105375

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:

https://gcc.gnu.org/g:eb6f6f638a547f0330cc7940c5389039b59e4e76

commit r11-9936-geb6f6f638a547f0330cc7940c5389039b59e4e76
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Mon Apr 25 14:22:41 2022 +0100

    libstdc++: Add deduction guides for std::packaged_task [PR105375]

    This change was LWG 3117.

    The test is copied from 20_util/function/cons/deduction.cc

    libstdc++-v3/ChangeLog:

            PR libstdc++/105375
            * include/std/future (packaged_task): Add deduction guides.
            * testsuite/30_threads/packaged_task/cons/deduction.cc: New test.

    (cherry picked from commit a5cee0480c10bafa8ed65d49e5cedca23d98d7b7)


More information about the Gcc-bugs mailing list