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:
Post a Comment
comment on this post
Note: Only a member of this blog may post a comment.
‹
›
Home
View web version
No comments:
Post a Comment
comment on this post
Note: Only a member of this blog may post a comment.