D
Daniel T.
class A {
class B;
// ... later in the code
public:
class B { };
};
I have one compiler telling me that class A::B is inaccessible outside
of A, and another compiler accesses it just fine. Which is correct
according to the standard?
class B;
// ... later in the code
public:
class B { };
};
I have one compiler telling me that class A::B is inaccessible outside
of A, and another compiler accesses it just fine. Which is correct
according to the standard?