struct - Does ANSI C support signed / unsigned bit fields? -


does make sense qualify bit fields signed / unsigned?

the relevant portion of standard (iso/iec 9899:1999) 6.7.2.1 #4:

a bit-field shall have type qualified or unqualified version of _bool, signed int, unsigned int, or other implementation-defined type.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -