Topic: operator.() -- why not?


Author: adiwan@bbn.com (Arif Diwan)
Date: 28 Apr 1993 19:20:00 GMT
Raw View
Why was operator.() put off the list of operators that
can be overloaded?

Sec 13.4 of ARM says "The reason for disallowing the overloading
of ., .*, and :: is that they already have predefined meaning for
objects of any class as their first operand. ..."

This still does not explain to me why operator.() was disallowed
(I am merely concerned with operator.()).

Any chance that operator.() will be introduced in the future?

--

    -- Arif Diwan (adiwan@bbn.com)
      617/873-6274