[Interest] Why no T& QVariant::value()?
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Mon Jun 4 09:00:28 CEST 2018
Il 23/05/2018 16:16, Jason H ha scritto:
> Really wishing this function existed. Can someone explain why it doesnt' exist?
Because QVariant (as well as most Qt APIs) has wide contracts; combined
with the policy of not using exceptions, that makes such a function
impossible to implement.
Cheers,
--
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 - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180604/b43ce500/attachment.bin>
More information about the Interest
mailing list