Boost logo

Boost :

Subject: Re: [boost] [Beman's endian] explicit native endianes
From: Terry Golubiewski (tjgolubi_at_[hidden])
Date: 2010-06-04 08:41:18


> I see that there are specific classes for native endian,
> endian<endianness::native, ...>.
> I was wondering if instead of defining a separated class we can not define
> endianness::native depending on the ENDIAN of the host and remove the
> explicit definition.

That's what my design does. I've been using it for several years. I don't
know if it would break Beman's though.

terry


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