[ad_1]
just out of curiosity, if I have a struct with bit fields
struct Foo
{
char a : 1;
char b : 1;
char c : 1;
}
and another struct with bitfields and struct Foo
struct Bar
{
Foo foo;
char a : 1;
char b : 1;
char c : 1;
}
will all of these bits get packed into a single integer?
[ad_2]