|
Boost : |
From: Yuval Ronen (ronen_yuval_at_[hidden])
Date: 2006-06-10 11:16:10
me22 wrote:
> On 6/9/06, Yuval Ronen <ronen_yuval_at_[hidden]> wrote:
>> Are you implementing the big_endian<T> class as holding a member of type
>> T? If you do (that's the most logical way, I think), then it sounds most
>> strange to me. Is it just one compiler that's causing problems? Have you
>> tried on more than one compiler?
>>
> Yes, it's holding it as a member.
>
> I've tried it (with the same results) in g++ 3.3.6, 3.4.6, and 4.1.1.
> I just installed icc to try it with that, but I think there's a
> library mismatch or something with the rest of my system as I can't
> even get hello world to compile with it.
VC8 gives me
sizeof( boost::exact<24> ) = 0x3
sizeof( boost::big_endian< boost::exact<24> > ) = 0x3
so maybe it's a gcc bug...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk