M
Martin Vorbrodt
say i have this:
union U {
public:
U(int a) : x(a) {}
protected:
int x, y, z;
};
why is the protected access even allowed for unions? no inheritance can take
place anyways, why not just have public and private only?
thanx,
martin
union U {
public:
U(int a) : x(a) {}
protected:
int x, y, z;
};
why is the protected access even allowed for unions? no inheritance can take
place anyways, why not just have public and private only?
thanx,
martin