class A {
class B { }
B somefunction();
}
B A::somefunction() {
B bla;
return bla;
}
So I have something similar to this in my code. And I am getting an error saying that 'B' does not name a type
. Any help would be appreciated. P.S. I am not allowed to change the interface.