LWG 3039 Unnecessary decay in thread and packaged_task
authorJonathan Wakely <jwakely@redhat.com>
Fri, 15 Jun 2018 00:19:07 +0000 (01:19 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 15 Jun 2018 00:19:07 +0000 (01:19 +0100)
commitcb4f9a8c05fd36d78faaddb4635b4bfb80bba457
tree5d50c2c7af59c9318d5d85923118f76535e23f50
parent024e96b90bd2bc4f88aaeb62295d6c919a5cd804
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.

From-SVN: r261618
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/future
libstdc++-v3/include/std/thread