Re: API freeze break request: gtkmm: Gtk::Plug
- From: Murray Cumming <murrayc murrayc com>
- To: Elijah Newren <newren gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: API freeze break request: gtkmm: Gtk::Plug
- Date: Tue, 25 Jan 2005 09:13:49 +0100
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
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]