Size of this union return 16 bytes (in C++Builder 2007).
typedef union
{
struct
{
unsigned Type:2;
unsigned Prev:31;
unsigned Next:31;
unsigned SizeInBytes:32;
};
} eMyUnion;
How i must modify this union definition, if i want sizeof(eMyUnion) = 12 bytes ?
(I want keep these fields and its sizes, but it can be reordered).
It is possible ?