CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2000
    Posts
    8

    Operator Overloading

    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?



  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Operator Overloading

    VB (6) does not support operator overloading


  3. #3
    Join Date
    May 1999
    Posts
    3,332

    Re: Operator Overloading

    BTW, according to MS VB 7 will support overloading of functions via the OverLoads keyword.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured