Radde wrote:
> HI,
> Can we overload -> operator..I hope we can..If so is this to be
> member function or global function or global function with that class
> as friend..and why it should that??
>
> Cheers..
You would be well served to visit the FAQ for this newsgroup. To be fair,
your question does not seem to be addressed clearly by the FAQ, so I will
answer it. Yes, you can overload ->. It is done to create things such as
iterators in the Standard Library.
http://www.parashift.com/c++-faq-lite/
--
If our hypothesis is about anything and not about some one or more
particular things, then our deductions constitute mathematics. Thus
mathematics may be defined as the subject in which we never know what we
are talking about, nor whether what we are saying is true.-Bertrand Russell