[Gtk-sharp-list] overloading operator ==?
20 Oct 2002 00:58:10 -0700
On Sat, 2002-10-19 at 12:59, Miguel de Icaza wrote:
> > Maybe we should have an overloaded == operator for Object.cs, so we
> > can compare objects?
> I have now committed this code: operator == and operator != to CVS.
Hmm, I just realized.. why is an overloaded operator == needed at all?
With the refouncting/GetObject()/etc. plan in place, there should never
be the case of two different gtk#/C# objects existing with the same
native _obj pointer -- there's a one-to-one mapping between the two. So
the base System.Object equality should suffice...
Vladimir Vukicevic <firstname.lastname@example.org>