Boost logo

Boost :

Subject: Re: [boost] [Beman's endian] explicit native endianes
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-06-04 08:22:45


----- Original Message -----
From: "vicente.botet" <vicente.botet_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Friday, June 04, 2010 2:04 PM
Subject: [boost] [Beman's endian] explicit native endianes

> Hi Beman,
>
> I see that there are specific classes for native endian, endian<endianness::native, ...>.

I see that there is a specilization for native unaligned

    template <typename T, std::size_t n_bits>
    class endian< endianness::native, T, n_bits, alignment::unaligned >

but not for native aligned.

    template <typename T, std::size_t n_bits>
    class endian< endianness::native, T, n_bits, alignment::aligned >

Is this is not an error what is the rationale?

Best,
Vicente


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