[Interest] void pointers

Konstantin Tokarev annulen at yandex.ru
Tue Jul 16 17:55:26 CEST 2013


16.07.2013, 19:49, "Phil Hannent" <phil at hannent.co.uk>:
> 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?

No.

-- 
Regards,
Konstantin



More information about the Interest mailing list