Boost logo

Boost Users :

Subject: Re: [Boost-users] How to find: best integer type for processor
From: Othman, Ossama (ossama.othman_at_[hidden])
Date: 2008-10-30 13:08:23

>If you want the largest native integer, though not 100% portable to
>weird archs, this should work in x86/x64 and most others:
>typedef boost::int_t<sizeof(void*) * 8>::fast fastint_t;

Why not just use the standard {u}intptr_t or {u}intmax_t typedef in this case?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at