Identifying 32 vs 64 bit OS?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 10 23:17:12 PDT 2014


On Mon, 11 Aug 2014 05:18:59 +0000
Jeremy DeHaan via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:

why do you need that info? D types has well-defined sizes (i.e uint is
always 32 bits, and so on).

you still can check pointer size -- (void *).sizeof. but i'm pretty
sure that you don't really need to do that unless you want to store
pointers in files (and this is almost completely useless anyway).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140811/b8b05e00/attachment.sig>


More information about the Digitalmars-d-learn mailing list