On Mon, 31 Jan 2011 09:19:07 +0000, Jonathan Wakely wrote:


> The code is wrong. sizeof expects either an expression, or a

> parenthesized type-id.  (long) is not a type-id so ((long)) is not a

> parenthesized type-id, therefore it must be interpreted as an

> expression, but it's not a valid expression either.



In sense of 6.5.3.4 - the sizeof operator where nearly every value is

allowed? Why not a parenthesized parenthesized type-id?



HGN

Reply via email to