Results 1 to 13 of 13

Thread: [Resolved] Overloaded Operators

Threaded View

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    [Resolved] Overloaded Operators

    I'm trying to create some operators for my class, but get errors:

    Code:
    public static CMovieList operator<(CMovieList c) {
    
    }
    It says "Overloadable unary operator expected." How, then, do I do a binary operator?
    Last edited by The Hobo; Sep 13th, 2003 at 08:48 PM.
    My evil laugh has a squeak in it.

    kristopherwilson.com

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