[Development] Qt 5 types under consideration for deprecation / removal in Qt 6

Mutz, Marc marc at kdab.com
Wed May 29 14:15:11 CEST 2019


Ah, I thought you'd might win this one :)

On 2019-05-29 13:48, Philippe wrote:
[snip usual rambling]
>>> === QAtomic -> std::atomic ===
> 
> There would be subbtle traps for code conversion:
> eg. std::atomic::load() uses std::memory_order_seq_cst
> while QAtomic::load() uses relaxed ordering

That is not a trap, that's safe: std::atomic is ordering more.

Thanks,
Marc


More information about the Development mailing list