Dear all,
I have the following concept
name {
space1 {
class Friend {
};
};
};
name {
space2 {
MyClass {
friend name::space1::Friend;
};
};
};
For some reason I get Error: class, struct, union or type name::space1
not defined (in the line with the friend declaration). I think I am
missing something simple. Any ideas? Should I #include the Friend.h file
in any case? I would like to avoid this. Thanks,
filimon