Boost logo

Boost :

Subject: Re: [boost] [predef] BOOST_ARCH_BITS_* feature request
From: Bjorn Reese (breese_at_[hidden])
Date: 2015-09-16 16:49:26


On 09/16/2015 09:15 PM, Antony Polukhin wrote:

> BOOST_ARCH_BITS_* is mostly a macro for sizeof(void*).
>
> In other words:
> * define BOOST_ARCH_BITS_64 to 1 on BOOST_ARCH_x86_64, BOOST_ARCH_ARM_64,
> BOOST_ARCH_PPC_64
> * define BOOST_ARCH_BITS_32 to 1 on all other archs.

That appears to be of limited use. I would much rather see this
extended to macros for data models (e.g. LP32, LP64, ILP64, etc.)

   http://www.unix.org/whitepapers/64bit.html


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