Topic: Overloading the pointer to member operator
Author: Nicola Musatti <objectway@divalsim.it>
Date: Wed, 17 Oct 2001 22:56:37 GMT Raw View
According to 13.5 operator ->* , the pointer to member operator, can be
overloaded. How a user defined version should behave? Shouldn't this be
described explicitly in that paragraph of the standard?
Cheers,
Nicola Musatti
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html ]
Author: kanze@gabi-soft.de (James Kanze)
Date: Fri, 19 Oct 2001 15:15:55 GMT Raw View
Nicola Musatti <objectway@divalsim.it> wrote in message
news:<3BCD454E.5442C678@divalsim.it>...
> According to 13.5 operator ->* , the pointer to member operator, can
> be overloaded. How a user defined version should behave?
However the user wants. It overloads exactly like any two operand
operator. It is *not* a special case like operator->.
--
James Kanze mailto:kanze@gabi-soft.de
Beratung in objektorientierer Datenverarbeitung --
-- Conseils en informatique orient e objet
Ziegelh ttenweg 17a, 60598 Frankfurt, Germany, T l.: +49 (0)69 19 86 27
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html ]