| 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
.
|
|
|
|

|
Related Articles |
|
|