Click to See Complete Forum and Search --> : Operator Overloading


ncl
February 24th, 2000, 03:28 AM
I wish to test equality between between 2 instances of a class. In C++ I would overload the == operator. I know I can write a method such as Object1.is_the_same_as (Object2), but is there any way to achieve this using the equality operator?

Lothar Haensler
February 24th, 2000, 04:17 AM
VB (6) does not support operator overloading

Lothar Haensler
February 24th, 2000, 08:35 AM
BTW, according to MS VB 7 will support overloading of functions via the OverLoads keyword.