[Development] qMoveToConst helper for rvalue references to movable Qt containers?

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Sun Oct 21 17:58:01 CEST 2018


Il 21/10/18 17:50, Giuseppe D'Angelo via Development ha scritto:
> This won't compile when called on a non-const lvalue (the return type
> will be a lvalue reference to const, 

To NON-const, that is.

-- 
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/development/attachments/20181021/f99c86cf/attachment.bin>


More information about the Development mailing list