
5 Apr
2017
5 Apr
'17
11:03 a.m.
On Wed, Apr 5, 2017 at 11:00 AM, Frédéric Bron via Boost
What is the official boost macro to determine endianess? And what is the header to include to get it?
I cannot find any help in the documentation of boost.endian but I can find those macros by grepping in boost:
BOOST_LITTLE_ENDIAN, BOOST_BIG_ENDIAN, BOOST_ENDIAN_BIG_BYTE, BOOST_ENDIAN_BIG_WORD, BOOST_ENDIAN_LITTLE_BYTE, BOOST_ENDIAN_LITTLE_WORD, BOOST_PDP_ENDIAN
Shouldn't functions from the endian lib be used? -- Olaf