[Issue 11955] win32 foreach "size_t" degrades to "uint"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 20 04:34:45 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11955
Jakob Ovrum <jakobovrum at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jakobovrum at gmail.com
Resolution| |INVALID
--- Comment #1 from Jakob Ovrum <jakobovrum at gmail.com> 2014-01-20 04:34:43 PST ---
(In reply to comment #0)
> I only tested this on win_32, so I don't know how the other os's (linux), or
> versions (64) behave.
`size_t` is supposed to alias to `uint` for 32-bit targets, and `ulong` for
64-bit targets.
See line 20 of object.di:
---
alias typeof(int.sizeof) size_t;
---
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list