Boost logo

Boost :

Subject: Re: [boost] [dynamic_bitset] Endianess
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2012-05-02 12:45:10


Hi Joel,

Joel wrote:
> I've noticed that the dynamic_bitset seems to have endian issues.

Do you have a test case that you can share?

> For masking
> out the ith bit in a block, it uses 1 shifted left by i. As a result, the bits
> are not consecutive.

What do you mean by "consecutive"? Why do you think this matters?

(I have just had a quick look at the code, and I've not seen anything
like casts or unions that could cause endianness issues.)

Regards, Phil.


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