[Development] Passing QSize, QPoint, QTime and other small structs by value

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Mon Apr 10 22:32:29 CEST 2017


Il 10/04/2017 22:27, Matthew Woehlke ha scritto:
> (Option 3: Add a template class that implements Option 2? Is this possible?)

"Possible", certainly, I think it's what
boost::call_traits<T>::param_type was meant to do. Whether we'd want
something like that in our function signatures, that's another matter...

Cheers,
-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - 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/development/attachments/20170410/cb9b031a/attachment.bin>


More information about the Development mailing list