If I write this code:
QSharedPointer<int> ptr(new int());
The number of references pointing to the integer is 1.
But when I call data() like this:
QSharedPointer<int> ptr(new int());
int* ptr2 = ptr.data();
Is the number of references 1 or 2 ?
Thanks for help.