On 5 September 2016 at 07:53, Markus Teich <[email protected]> wrote:
> Anselm R Garbe wrote:
>> Use 'sizeof(type)' with brackets but 'sizeof var' without.
>
> Heyho Anselm,
>
> can you elaborate on the reasoning behind this? The styleguide says "Always 
> use
> () with sizeof".

The styleguide needs to be fixed.

See http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1256.pdf 6.5.3
for unary operator specification of the C language.

-Anselm

Reply via email to