Operator Overloading

Can any1 here explain that why operators like
1. Dot operator(.)
2. Scope resolution operator(::)
3. Conditional operator(?:)
4. Pointer to member variable(->)
cant be overloaded for user defined datatypes????
Plz help....
IT'S URGENT!!!!
Last edited on
The arrow operator ->can be overloaded. (¿didn't you use iterators?)
In general the result should be the same as (*obj).method()

For the others see http://www2.research.att.com/~bs/bs_faq2.html
Topic archived. No new replies allowed.