Re: Integral type with sizeof(T) == 1 and distinct aliasing class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Florian Weimer <fw@xxxxxxxxxxxxx> writes:

> Is there a type which is basically an (unsigned) char, but with the
> additional feature that a pointer derived from it wouldn't alias with
> basically anything?
>
> This type would be handy for optimizing marshaling code.

There is no such type.  However, use of the restrict qualifier should
achieve a similar effect.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux