Thread: Operator overloading

  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    25

    Operator overloading

    How exacly do i overload the + operator for my class, i try to overload it but it says that couldnt find the function. By the way the class is templated.

    thanks

  2. #2
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331

  3. #3
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Rather hard to tell without some code...
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  4. #4
    Registered User
    Join Date
    Oct 2004
    Posts
    25
    dont worry i solved it

Popular pages Recent additions subscribe to a feed