Original Post
According to ANSI C++, does a pointer to a data member need to be clarified by the namespace? For example:
class One
{
private:
int _x;
public:
int* getPx() { return &_x; }
};
class Two
{
private:
int* _pY;
public:
void setPy( int* pY ) { _pY = pY; }
};
Do I need to use One::int* instead of plain int* ?
[edited by - flamewill on August 8, 2003 2:14:21 AM]