W
Walter Deodiaus
I have
typedef struct {
union _union{
....
struct {
int i;
}u1;
....
}Union;
} Struct ;
now I want to define a method's signaure whose first arg will be "u1"
e.g. foo(Struct::Union.u1)
Is this possible without changing the layout to
struct _u1{
int b;
} ;
typedef struct {
union _union{
....
_u1 u1;
....
}Union;
} Struct ;
method's signature
foo(u1 the_u1);
typedef struct {
union _union{
....
struct {
int i;
}u1;
....
}Union;
} Struct ;
now I want to define a method's signaure whose first arg will be "u1"
e.g. foo(Struct::Union.u1)
Is this possible without changing the layout to
struct _u1{
int b;
} ;
typedef struct {
union _union{
....
_u1 u1;
....
}Union;
} Struct ;
method's signature
foo(u1 the_u1);