After initialization:
p:42
q:NULL
After assigning auto pointers:
p:42
q:42
assigning smart pointer will transfer the ownership,but it dosen`t`.
My platform is win7,I write the program in vc++ 6.0
Is the matter of my platform or another?
Who can help me.
Thanks.