On Mon, 2005-01-24 at 14:23 -0700, Elijah Newren wrote: > An off-topic comment/question, though. I noticed the following in the > patch (in the "context" region): > > explicit Plug(const Glib::RefPtr<Gdk::Display>& display, > GdkNativeWindow socket_id); > > Why would a constructor with more than one parameter need or want the > explicit keyword (not that it hurts or anything, but I was just > curious if I was missing something from the newer C++ standard or if > somehow I missed an alternate use for the keyword somehow...)?
It's useless. It's often in our generated code, because it's not actually a problem, and I guess we copy/pasted it there too. Now I know you know C++. -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
