[Qt-interest] Q_DECLARE_METATYPE and abstract classes
Thiago Macieira
thiago at kde.org
Tue Aug 9 17:55:56 CEST 2011
On Tuesday, 9 de August de 2011 17:38:13 Schimkowitsch Robert wrote:
> Thanks, that was exactly the pointer (sic!) I needed.
>
> Is there a way to make it work with const references instead of
> pointers, too?
No.
Const references are passed by copying. They are treated as pass-by-value.
Normal references cannot be passed.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110809/fd1039c8/attachment.bin
More information about the Qt-interest-old
mailing list