Boost logo

Boost :

Subject: Re: [boost] How to find: best integer type for processor
From: Philippe Vaucher (philippe.vaucher_at_[hidden])
Date: 2008-10-30 11:36:13


> Is there a macro and/or typedef that will tell me bit-length used for a
> processor and/or the best integer type for said processor?

Not sure it really helps but check out
http://www.boost.org/doc/libs/1_36_0/libs/integer/cstdint.htm, especially
the uint_fast32_t typedefs.

Philippe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk