Possible to 'skip' a tagged union

后端 未结 0 674
离开以前
离开以前 2021-01-14 08:54

Let\'s say I have the following tagged union:

typedef struct Form {
    FormType type;
    union {
        TaxForm tax; 
        BusinessForm bus; 
    } u;
}         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题