I have a nested class declared as:
class A
{
class B
{
// members
};
// members
};
Is there a good way to avoid typing A::B every time I need to access B's members? I'd just like to do this in one .cpp file. I tried "using namespace A;" but I found out that class scopes and namespace scopes are not the same thing.