[Development] Passing QSize, QPoint, QTime and other small structs by value
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...
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...
Size: 4007 bytes
Desc: Firma crittografica S/MIME
More information about the Development