Why no acess to other structs in classes?
Karen Lanrap
karen at digitaldaemon.com
Sun Nov 5 09:14:58 PST 2006
class C
{
struct S
{
uint data;
}
S s;
struct T
{
uint f()
{
return s.data;
// this for s needs to be type C not type T *
}
}
}
void main(){}
More information about the Digitalmars-d-learn
mailing list