Hi,

I'm trying to find a resolution for

https://codereview.qt-project.org/#/c/261564/

TL;DR: the patch removes the move constructor from QColorSpace, because that move constructor leaves the moved-from object in a partially-formed state.

I have nothing against that idea (on the contrary), but I am against the principle of introducing such inconsistencies in Qt without a previous agreement.

Hence, I'll ask here: what should the status of a moved-from object be? I'm not really interested in _how_ to achieve such status (although of course it's very important, and should influence the decision); I'm interested in what's our contract with our users.

A few datapoints for discussion are in the patch comments.

Thanks,
--
Giuseppe D'Angelo | [email protected] | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to