Does any one know how to create an unnamed variable for place holder in a struct? I know you can do it in bitfiled. Example:
struct S { int a; int b; int[5]; //reserved 5 ints but dont' need to name it. int c; int d; int bit0 : 1; int : 6; int bit7 : 1; } </pre?
"The problem is that I have way too many non-contiguous 'reserved' field." Why?? Does this not suggest something that needs to be fixed in your design? As you say yourself that there's "way too many," why don't you get rid of 'em?!