"Peter Dimov" <[EMAIL PROTECTED]> writes: > 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?
I think it would be safer to add struct { double T; } for each T in the list of types, just in case. -- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost