P
Peteroid
I believe this is not allowed:
union comboVar
{
int i;
double d ;
};
ref class myClass
{
comboVar m_Var_1 ; // error, no unions in ref class
comboVar* m_Var_2 ; // error no pointers either
comboVar^ m_Var_3 ; // error, not these either
} ;
Is there a /clr union equivalent?
[==P==]
union comboVar
{
int i;
double d ;
};
ref class myClass
{
comboVar m_Var_1 ; // error, no unions in ref class
comboVar* m_Var_2 ; // error no pointers either
comboVar^ m_Var_3 ; // error, not these either
} ;
Is there a /clr union equivalent?
[==P==]