[Development] C++20 structural types (was: C++20 @ Qt)

Thiago Macieira thiago.macieira at intel.com
Fri Nov 4 21:47:14 CET 2022


On Friday, 4 November 2022 10:38:30 PDT Allan Sandfeld Jensen wrote:
> Can we even do that, and still preserve ABI and API?

I don't see why not. QFlags is already standard-layout, trivially copyable and 
trivially destructible. Changing the member from private to public won't affect 
any of those properties.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering





More information about the Development mailing list