Assignment operators Qt4 deep or shallow copy?

Does assignment operators in Qt4 return deep or shallow copy?
Ans :Most objects in Qt implement copy-on-write mechanism. That means a shallow copy, this becomes a deep one as soon as you try to change it.

No comments: