G
Guest
Hello,
I'm attempting to define a class that has a bitfield as a static
member. The definition seems ok, but I'm at a loss as to how to declare
it:
class Test {
static struct TestBitFields {
unsigned int Flag1:1;
unsigned int Flag2:1;
} BitFields;
};
Thanks in advance!
I'm attempting to define a class that has a bitfield as a static
member. The definition seems ok, but I'm at a loss as to how to declare
it:
class Test {
static struct TestBitFields {
unsigned int Flag1:1;
unsigned int Flag2:1;
} BitFields;
};
Thanks in advance!