--- In [email protected], "John Matthews" <jm5...@...> wrote:
> "peternilsson42" <peternilsson42@> wrote:
> > I haven't seen a system where this will seriously fail,
> > but I prefer...
> > 
> >   printf("reg = %u\n", 0u + *reg);
> 
> Haven't seen that before - thanks.

I wouldn't rush to copy it. ;) It's been criticised as obfuscation
in other C forums. To me it's obvious, works in both C and C++,
and doesn't require a C style cast (which are deprecated in C++.)

-- 
Peter

Reply via email to