Boost logo

Boost Users :

Subject: Re: [Boost-users] How to find: best integer type for processor
From: Rodrigo Madera (rodrigo.madera_at_[hidden])
Date: 2008-10-30 15:15:19


>
> IMO, on a 64-bit CPU int should be 64 bits, and long should be 128
>

I agree that such a type should be available. Maybe not all ints directly,
but have a word_t for that purpose.

People may argue that "it's not needed" or redundant or whatever, but having
the register width as a type could be really useful sometimes.

Rodrigo



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net