T
Toni
Hi, This has probably debated here before but I could not find it in Google.
Though I don't have the standard at hand I've seen several references
point that operator -> has higher precedence than unary * (dereference).
Then I would always have thought that
*a->b
Is equivalent to
(*a)->b
but apparently it should be
*(a->b)
Which which is right and why?
Thanks,
Toni
Though I don't have the standard at hand I've seen several references
point that operator -> has higher precedence than unary * (dereference).
Then I would always have thought that
*a->b
Is equivalent to
(*a)->b
but apparently it should be
*(a->b)
Which which is right and why?
Thanks,
Toni