Re: C++ PATCH for c++/85679 and CWG 2094 - volatile scalars are trivially copyable

2019-05-20 Thread Marek Polacek
On Mon, May 20, 2019 at 01:51:13PM -0400, Jason Merrill wrote: > I'd add "again". Adjusted like that, thanks. On a related note, I often wish we had something like: but starting from scratch seems like a tremendous amount of work :/. -- Marek Polacek •

Re: C++ PATCH for c++/85679 and CWG 2094 - volatile scalars are trivially copyable

2019-05-20 Thread Jason Merrill
On 5/19/19 5:44 PM, Marek Polacek wrote: CWG 2094 partially reverts CWG 496, which means that volatile-qualified scalars are, once again, trivially copyable; [basic.types] now says "Scalar types, trivially copyable class types, arrays of such types, and cv-qualified versions of these types are co

Re: C++ PATCH for c++/85679 and CWG 2094 - volatile scalars are trivially copyable

2019-05-20 Thread Jonathan Wakely
On 19/05/19 17:44 -0400, Marek Polacek wrote: CWG 2094 partially reverts CWG 496, which means that volatile-qualified scalars are, once again, trivially copyable; [basic.types] now says "Scalar types, trivially copyable class types, arrays of such types, and cv-qualified versions of these types a

C++ PATCH for c++/85679 and CWG 2094 - volatile scalars are trivially copyable

2019-05-19 Thread Marek Polacek
CWG 2094 partially reverts CWG 496, which means that volatile-qualified scalars are, once again, trivially copyable; [basic.types] now says "Scalar types, trivially copyable class types, arrays of such types, and cv-qualified versions of these types are collectively called trivially copyable types.