Boost logo

Boost :

Subject: Re: [boost] License of endian and limits in Boost detail
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2013-03-19 00:17:36


On Mon, Mar 18, 2013 at 9:59 AM, Rene Rivera <grafikrobot_at_[hidden]> wrote:

> On Mon, Mar 18, 2013 at 9:10 AM, Paul A. Bristow <pbristow_at_[hidden]>wrote:
>
>>
>> John's proposal and then add to the proposed Predef library sounds a good
>> way forward.
>>
>> Actually I suspect that there is really only one way to do this task -
>> whatever the actual macro
>> variable names used in the code.
>>
>
> Probably.. FYI.. I worked up an initial implementation in the Predef
> library over the weekend from the information I could find on-line. Which I
> suspect is less than what the current endian header has. I'll check it in
> tonight and ask for feedback as to what's missing and style.
>

First pass at the Predef header for this at <
https://raw.github.com/grafikrobot/boost-predef/master/include/boost/predef/endian.h>.
Currently only tested on my OSX laptop. Would appreciate others trying it
out. The info is a combination of the indispensable description from
predef.sf.net (Bjorn Reese et al), known endian specifications I could find
on the architectures I currently detect, and a small amount of general web
searching.

-- 
-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

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