Boost logo

Boost :

Subject: Re: [boost] License of endian and limits in Boost detail
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-03-19 10:26:05

On Tue, Mar 19, 2013 at 6:00 PM, Rene Rivera <grafikrobot_at_[hidden]> wrote:
> On Tue, Mar 19, 2013 at 3:59 AM, Marc Glisse <marc.glisse_at_[hidden]> wrote:
>> 4321 or 1234, etc.
> If you read the documentation for the Predef library you would see that I'm
> following a particular naming convention that defines categories
> (BOOST_category_subcat_subsubcat). I do have some questions regarding the
> BYTE_ORDER macros..
> Are the macros defining the 4321/1234 numbers actually needed? Are there
> situations where the on/off indicator macros aren't enough?

According to Wikipedia [1], there are cases of mixed endianness, so
the BOOST_BYTE_ORDER macro could have e.g. value 3412. Also, FP
endianness may differ from the one of integers, so probably there have
to be separate sets of macros for these.


Boost list run by bdawes at, gregod at, cpdaniel at, john at