Il 26/08/24 19:49, Thiago Macieira ha scritto:
A runtime warning is unacceptable because it adds to the cost of the 99.99%
who don't have a throwing destructor.

A compile-time warning implies having a way to disable it with "I know that,
just ignore it" which is maintenance for us. My problem with this is the cost
on us, to maintain such a thing that has never been a problem and likely never
will.

There's a perfect place for such warnings, and that's tooling like Clazy / Clang-tidy (where you could also extend this to cover way more than QVariant -- any Qt / std container, algorithm, and so on).

Thanks,

--
Giuseppe D'Angelo | giuseppe.dang...@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

Attachment: smime.p7s
Description: Firma crittografica S/MIME

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to