|
Boost : |
From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2005-10-31 14:39:11
Peter Dimov wrote:
> Fernando Cacciola wrote:
>> Peter Dimov wrote:
>>
>>> The "preferred" alignment of E seems to be 8 (makes sense because of
>>> the long long),
>>
>> Just curious, how do tell that?
>
> Because the compiler tends to place it on an offset within structs
> that is a multiple of 8?
>
Hmmm, if a char is appended before the E, it is offseted 4, not 8, according
to my tests.
-- Fernando Cacciola SciSoft http://fcacciola.50webs.com/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk