S
Stephen Sprunk
Very nice, but even this cannot be used to get the alignment of a
struct with a flexible array member, as such a struct cannot be a
member of another struct. Anyone have suggestions how to deal with
those?
Also, is there some magic (for a custom memory allocator) to find out
what would be the greatest alignment that any object can require?
Is there any real-world system for which one couldn't simply take the
maximum alignment of long long, long double, void*, and a function pointer?
S