Add deleted std::thread(const thread&&) constructor
commit813ea2bf16296f1c1d254878985a95314efda55e
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jan 2017 13:31:26 +0000 (3 13:31 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jan 2017 13:31:26 +0000 (3 13:31 +0000)
treeab2aa78abb51e189987abc49522c5b154f82d00c
parentcfe1fd44d34ce6db1bea264c295b64529ffd2234
Add deleted std::thread(const thread&&) constructor

PR libstdc++/78956
* include/std/thread (thread(const thread&&)): Add deleted
constructor.
* testsuite/30_threads/thread/cons/lwg2097.cc: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244022 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/thread
libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc [new file with mode: 0644]