Topic: Nested Classes and Forward Declarations
Author: kemkes@netcom.com (Andreas Kemkes)
Date: 1995/07/21 Raw View
Should the following be possible according to the standard?
class M;
class M::E;
^^^^^^^^^^^
class C {
public:
void SetE (M::E* ee) { e = ee; }
private:
M::E* e;
};
What is the reason for not allowing it?
Thank you for your help.
-------------------------------------------------------------------------------
Andreas Kemkes
2428 Wilson Ave. (310) 305-7927
Venice, CA 90291 kemkes@netcom.com