void size
Jarrett Billingsley
kb3ctd2 at yahoo.com
Wed May 23 13:59:07 PDT 2007
"Deewiant" <deewiant.doesnotlike.spam at gmail.com> wrote in message
news:f31fg3$57$1 at digitalmars.com...
>
> Yes, it is supposed to happen. I can't find a Walter quote or
> documentation for
> it, but IIRC void.sizeof is defined as 1 in order for void arrays to work
> properly.
>
I want to say it's defined as the smallest addressable type on the system.
Like you said, I don't remember where that was mentioned.
More information about the Digitalmars-d-learn
mailing list