Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 6.5 and unnamed 0-length bit field
#2
Hi pkruk,

Is there any reason for not using an unsigned int zero bit field?

I.e.

Code:
struct s {
   unsigned int : 0;      /* unnamed zero length bit field */
};

George


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)