16 Sep
2015
16 Sep
'15
8:49 p.m.
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