[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug libstdc++/78956] New: std::thread doesn't fully meet LWG 2097 requirement
From: "redi at gcc dot gnu.org" <gcc-bugzilla () gcc ! gnu ! org>
Date: 2016-12-31 13:14:27
Message-ID: bug-78956-4 () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78956
Bug ID: 78956
Summary: std::thread doesn't fully meet LWG 2097 requirement
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
Target Milestone: ---
#include <thread>
static_assert( !std::is_constructible_v<std::thread, const std::thread> );
This assertion should pass according to LWG 2097. We only get it right for
lvalues and non-const rvalues.
We also need:
thread(const thread&&) = delete;=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic