J
jeffc
WW said:Sure. They are not function calls. There are several reasons to it. One
of ehich Ron told.
Really? They're not function calls because the order in which they appear
does not necessarily match the order in which they're called? Is that what
you're saying the "proof" is that they're not functions?
Another (which leads to the same) is that contsructors
are not functions. They are *special* member functions, which special
semantics.
Ah, I see. They're not functions. They're *special* functions. Thanks for
clearing that up.
Yes. How does that support your theory of sizeof being a function from the
C++ language point of view?
It supports my view that my comments are relevant to the context of the OP's
original question. He wrote sizeof((int)*p). Now if context makes no
difference, then how about if you come up and explain to the class the
difference between these 4 expressions.
short s;
sizeof s*(double)s
sizeof (double)s*s
sizeof (s*(double)s)
sizeof ((double)s*s)
And please don't tell me they're the same.