Originally posted by mendieta
View Post
In fact if you want that a dialog is deleted when it is hidden you can simply do that by a flag and not resort on the parent being destroyed, or you could also reuse the dialog later.
Probably in most cases you looked at shared pointers would be a complete unnecessary overhead. If you use smartpointers everywhere + other "always secure"-measures you should probably use a different programming-language that was designed for that.
Comment