BOOST_PREDEF_WORKAROUND(symbol,comp,major,minor,patch)
@@ -6416,7 +6453,7 @@ is undefine this expand to test the given symbol
version value with
From a7ac034985bdc8192dc136dd252072a51693ac53 Mon Sep 17 00:00:00 2001
From: Rene Rivera
BOOST_PREDEF_WORKAROUND
BOOST_ARCH_WORD_BITS
Detects the native word size, in bits, for the current architecture. There are +two types of macros for this detection:
+BOOST_ARCH_WORD_BITS
, gives the number of word size bits
+(16, 32, 64).
BOOST_ARCH_WORD_BITS_16
, BOOST_ARCH_WORD_BITS_32
, and
+BOOST_ARCH_WORD_BITS_64
, indicate when the given word size is
+detected.
They allow for both single checks and direct use of the size in code.
+
+ ℹ
+ |
+
+The word size is determined manually on each architecture. Hence use of
+the wordsize.h header will also include all the architecture headers.
+ |
+
BOOST_PREDEF_WORKAROUND
BOOST_PREDEF_WORKAROUND(symbol,comp,major,minor,patch)
@@ -6416,7 +6453,7 @@ is undefine this expand to test the given symbol
version value with
BOOST_PREDEF_TESTED_AT
BOOST_PREDEF_TESTED_AT
BOOST_PREDEF_TESTED_AT(symbol,major,minor,patch)
@@ -6820,6 +6857,10 @@ expressions. It defaults to "c++", but can be any of: "c", "cpp",
Add CI testing on FreeBSD for clang and gcc.
Add WORD_BITS
set of predefs to detect the architecture word size.
+Initial implementation inspired by submission from Mikhail Komarov.