Operator overloading question



 DEVELOP > c-Plus-Plus > Operator overloading question

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: ""
Date: 24 Aug 2007 08:12:13 AM
Object: Operator overloading question
Why does C++ allow operator "->" to be overloaded but does not allow
operator "." to be overloaded?
Thanks and regards
SJ
.

User: "osmium"

Title: Re: Operator overloading question 24 Aug 2007 08:54:08 AM
<sonison.james@gmail.com> wrote:

Why does C++ allow operator "->" to be overloaded but does not allow
operator "." to be overloaded?

You might like to know that there is a better group for this kind of
question, comp.std.c++. It is a moderated group so anticipate a substantial
delay before you get an answer.
.

User: "Victor Bazarov"

Title: Re: Operator overloading question 24 Aug 2007 08:38:40 AM
wrote:

Why does C++ allow operator "->" to be overloaded but does not allow
operator "." to be overloaded?

Please start by searching the archives. This question has already been
answered. BTW, do you have a copy of "Design and Evolution of C++"?
You might want to get one.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER