Il 10/07/2015 12:20, Smith Martin ha scritto:
Sorry, you're the one who said it's bad; I'm quite happy with it. I'm asking if QList<C> 
becomes QList<C*> even if I declare it as QList<C>.

"Becomes" is a technically-unsound verb so I won't use it...

What happens for QList<C>, if C is "bad", is that the backing array allocated by QList will store pointers to C (i.e. it will be an array of C*, not an array of C).

HTH,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - The Qt Experts

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to