libstdc++: Add deduction guides for std::packaged_task [PR105375]
authorJonathan Wakely <jwakely@redhat.com>
Mon, 25 Apr 2022 13:22:41 +0000 (14:22 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 25 Apr 2022 15:16:33 +0000 (16:16 +0100)
commita5cee0480c10bafa8ed65d49e5cedca23d98d7b7
tree85183cccab9b63b13a1458d93ae1b2965ae73ea4
parent1ba397e9f93d3abc93a6ecbabc3d873489a6fb7f
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.
libstdc++-v3/include/std/future
libstdc++-v3/testsuite/30_threads/packaged_task/cons/deduction.cc [new file with mode: 0644]