Talk:cpp/memory/weak ptr/lock

Executed atomically
The summary says "..., executed atomically". I think this is true only since C++14. --Bear (talk) 00:29, 20 January 2016 (PST)
 * yes, that was LWG 2316. From the description, the C++11 spec was impossible to implement (it required noexcept but implementing literally would throw bad_weak_ptr in case of a race). Even though LWG (unlike CWG) doesn't seem to expect that defect reports are applied to the defective standard revisions, a conforming C++11 compiler would have to implement it the C++14 way. I'll add a DR table. --Cubbi (talk) 06:00, 20 January 2016 (PST)