[Interest] QScopedPointer with

Stephen Kelly stephen.kelly at kdab.com
Fri Sep 20 16:01:50 CEST 2013


On Tuesday, September 18, 2012 16:58:00 Alex Strickland wrote:
> This is really a general C++ question, but I have looked long and hard 
> and not worked it out. In the code below how should I initialise v.v 
> using the QScopedPointer?

Did you even try your example with a raw pointer instead of a QScopedPointer?

See http://sscce.org/

A patch like this would fix the issue:

 https://codereview.qt-project.org/#change,66053

Thanks,

-- 
Join us in October at Qt Developer Days 2013 - https://devdays.kdab.com

Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130920/91fb975b/attachment.sig>


More information about the Interest mailing list