"nifsmith" <hawklord451@ly cos.co.uk> wrote in message
news:cl2lif$5lc $1@sparta.btint ernet.com...[color=blue]
> Is
>
> *(pointer1->pointer2)
>
> The same as
>
> (*(*pointer1).p ointer2)
>
> TYIA
>
> nifsmith[/color]
"nifsmith" <hawklord451@ly cos.co.uk> wrote in message[color=blue]
> Is
>
> *(pointer1->pointer2)
>
> The same as
>
> (*(*pointer1).p ointer2)
>[/color]
Yes.
Section 5.2.5 paragraph 3 - "If E1 has the type ``pointer to class X,'' then
the expression E1->E2 is converted to the equivalent form (*(E1)).E2;"
"JKop" <NULL@NULL.NULL > wrote in message
news:X35dd.3946 9$Z14.13988@new s.indigo.ie...
[...][color=blue]
> (Actually now as I'm writing this, I'm not 100% sure that you can overload
> ->)[/color]
Catalin Pitis posted:
[color=blue]
>
> "JKop" <NULL@NULL.NULL > wrote in message
> news:X35dd.3946 9$Z14.13988@new s.indigo.ie...
> [...][color=green]
>> (Actually now as I'm writing this, I'm not 100% sure that you can
>> overload ->)[/color]
>
> Yes you can
>
> Catalin[/color]
Comment