On 2005-12-09T10:30:37-0600, Jay Sprenkle wrote:
> This shouldn't work on your compiler:
> 
>     void* p;
>    sizeof(*p)
> 
> This should return 1:
> 
>    unsigned char* p;
>    sizeof(*p)

I understand, that is the point of void after all.

The answer to the question was provided previously, namely that the
implementation uses pointer arithmetic and exposes that detail in the
API.

Thanks to everyone that provided insights.


/Allan

Reply via email to