Hi,
I have a question relating to alignment in c/c++. In http://stackoverflow.com/questions/364483/determining-the-alignment-of-c-c-structures-in-relation-to-its-members Michael Burr posted this Makro:
#define TYPE_ALIGNMENT( t ) offsetof( struct { char x; t test; }, test )
in the comments someone wrote this might fail with non POD typs. Can someone give me an code example where this fails?