S
slocum
I have a struct like that
struct A {
struct B {
.....
}
...
}
I have to declare previously all that struct and their friends
struct A;
friend struct A;
but how to declare struct B and which is declared into struct A ?
struct A::B; ?
friend struct A::B ?
it doesn't work...
struct A {
struct B {
.....
}
...
}
I have to declare previously all that struct and their friends
struct A;
friend struct A;
but how to declare struct B and which is declared into struct A ?
struct A::B; ?
friend struct A::B ?
it doesn't work...