K
Keith Thompson
Lew Pitcher said:Thanks, James
I learn something new every day. I'll have to get me a copy of the 2011
standard and read it asap
The latest draft is
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
One of the few differences between the draft and the published standard
is actually relevant here. The draft adds another exception to the rule
that an array expression is converted to a pointer, namely when it's the
operand of the new _Alignof operator. The published standard removes
this, because _Alignof (for unclear reasons) can only be applied to a
parenthesized type name, not to an expression