Looking for Reading material on op overloading

I have been studying operator overloading and I understand the - + () and a few others but I am stuck with the ->. I want to have full understanding of all of these before I continue in my c++ manual. Any videos, manuals, or advice plz. thanks
Last edited on
I think all you need is to know is in http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B#Table

-> is a bit special. If it is overloaded, foo->bar could be understood as ( foo.operator -> () )->bar;
1
2
3
4
5
6
Number Number::operator+(Number num)
{
          Number temp;
          temp.x=x+num.x;
          return (temp);
}

I broke this down fairly easy but I am feeling really lost with the -> concept.
Glad to have that chart though. I will rest my brain before I proceed to learn this anymore.
Topic archived. No new replies allowed.