size_t + ptrdiff_t
Vladimir Panteleev
vladimir at thecybershadow.net
Tue Feb 21 05:27:37 PST 2012
On Sunday, 19 February 2012 at 16:23:50 UTC, Manu wrote:
> On 19 February 2012 18:03, Vladimir Panteleev
> <vladimir at thecybershadow.net>wrote:
>
>> On Sunday, 19 February 2012 at 15:26:27 UTC, Manu wrote:
>>
>>> There is code that assumes size_t is the width of the pointer
>>
>> When is this not true? I can only think of 16-bit far pointers.
>>
> word/pointer width mismatch does happen
I know there are many systems with mismatching machine word and
pointer size. I asked about cases where size_t.sizeof !=
(void*).sizeof.
More information about the Digitalmars-d
mailing list