Vlad Galu
12/13/2006 2:20:00 PM
On 12/13/06, Jan Svitok <jan.svitok@gmail.com> wrote:
> On 12/13/06, Vlad Galu <dudu@dudu.ro> wrote:
> > On 12/13/06, ankyhe@gmail.com <ankyhe@gmail.com> wrote:
> > > I overload ==, >, <, >=, <=successfully, however I can't overload != .
> > > How to overload operator !=?
> >
> > Overloading "==" should do it :)
>
> != is a defined using == i.e. a != b is parsed as !(a == b)
> that means: 1. you cannot override !=, 2. you have to override ==
Which is precisely what I meant :)
>
--
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.