I have my classes/structs declared the following way:
namespace NS {
class A {
public:
struct B {
int x;
int y;
}
}
}
int main() {
NS::A::B objB;
}
I am wondering if there is any way I can refer to B in a more compact way. I tried using "using" but that only seems to work for namespaces.