[Interest] void pointers

Phil Hannent phil at hannent.co.uk
Tue Jul 16 17:49:25 CEST 2013


Hi,

I have a codebase that is using a C library and Qt. I have some legacy code
where structs from the C library are stored in a Qt/C++ class using:

void *userData;

Is this an example where I should replace the void * with a QSharedPointer
or a QWeakPointer?

Regards
Phil Hannent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130716/e9af07fe/attachment.html>


More information about the Interest mailing list