Re: [glade--] Could raw C++ pointers be eliminated?
"Murray Cumming" <[email protected]> Wed, 20 Oct 2004 12:19:41 +0200 (CEST)
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Message-ID | <[email protected]> |
> Murray Cumming schrieb: >> Yes, RefPtr<> is not a general purpose smartpointer. But there are >> plenty >> of other general purpose smartpointers that can be used with gtkmm. > > So (if I read correctly between the lines) you advise me to use > auto_ptr<> inside the ctor (and the class)? I hate auto_ptr<>. I generally prefer shared reference-counting smartpointers. But I personally see no great advantage for you in doing this instead of using Gtk::manage(). Murray Cumming [email protected] www.murrayc.com www.openismus.com