0

I have gone through operator overloading tutorial. I haven't find any example of overloading "->*". It has been told that the mentioned operator is rare and used mostly in expression template.

Can someone enlighten with the details of overloading the operator "->*"?

1 Answers1

2

See here: http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B#Member_and_pointer_operators

and here: http://aristeia.com/Papers/DDJ_Oct_1999.pdf

R &K::operator ->*(S b);

R &operator ->*(K a, S b);
tenfour
  • 36,141
  • 15
  • 83
  • 142