Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-09-02 15:05:47


Douglas Paul Gregor wrote:

[...]

>> struct A {
>> double d;
>> int i;
>> };

[...]

> Are there any other crazy rules like this that you know of? We could
> just add "struct A" from above to the list of types, or if there is a
> CodeWarrior-specific extension (e.g., something like "#pragma pack" or
> "atttribute(aligned...)") we could start using compiler-specific
> extensions to do this, which wouldn't be a bad thing to do anyway.

Maybe adding struct { double x; } would be enough?


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