LWG 3039 Unnecessary decay in thread and packaged_task
commit81238e255d8923bf2de3cade770cdbb1fa41052f
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Jun 2018 00:19:07 +0000 (15 00:19 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Jun 2018 00:19:07 +0000 (15 00:19 +0000)
tree5d50c2c7af59c9318d5d85923118f76535e23f50
parentee09d4333ca31e40c996138030972d5b92a69a4d
LWG 3039 Unnecessary decay in thread and packaged_task

* include/std/future (__constrain_pkgdtask): Replace with ...
(packaged_task::__not_same): New alias template, using
__remove_cvref_t instead of decay.
* include/std/thread (thread::__not_same): Add comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261618 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/future
libstdc++-v3/include/std/thread