MS VC++ .NET complains about the following code:
Error message:Code:namespace Osaou{ class Container{ private: class Sub{ private: typedef int *pInt; protected: void v_Test(void); }; }; } void Osaou::Container::Sub::v_Test(void){ Osaou::Container::Sub::pInt psdw_test = 7777; // ERROR }
error C2248: 'Osaou::Container::Sub::pInt : cannot access private typedef declared in class 'Osaou::Container::Sub'
Please, help? =S



LinkBack URL
About LinkBacks


