fkuhl@mitre.org (F. S. Kuhl) (08/07/90)
I'm using Sun C++ release 2.0. Given a class definition like: class Obj { private: union { char cval; int ival; }; }; I'd expect ival to be inaccessible outside class scope except to friend classes and functions. It's accessible. If I name the union, things work as I expect. Am I missing something? -- Frederick Kuhl fkuhl@mitre.org Civil Systems Division The MITRE Corporation