[Development] QVariant and types with throwing dtors

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Mon Aug 26 11:08:45 CEST 2024


Il 26/08/24 07:24, Marc Mutz via Development ha scritto:
> IMHO, (1) is not an acceptable option. Us C++ professionals having identified
> this problem after years of it lying dormant, it behooves us, at the
> very least, to educate our users about this, e.g. by adding docs, and
> maybe a qWarning() in ~QVariant(), if we don't do (2).

For clarity, what is "this problem" that are you referring to? Throwing 
destructors? Using types with throwing destructors in containers?

-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | 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 - Trusted Software Excellence

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4244 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20240826/12de7081/attachment.bin>


More information about the Development mailing list