Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!agate!saturn!saturn.ucsc.edu!daniel From: daniel@saturn.ucsc.edu (Daniel Edelson) Newsgroups: comp.lang.c++ Subject: enums declared in class scope Message-ID: <10210@saturn.ucsc.edu> Date: 8 Jan 90 19:47:55 GMT Sender: daniel@saturn.ucsc.edu Reply-To: daniel@saturn.ucsc.edu (Daniel Edelson) Organization: University of California, Santa Cruz; CIS/CE Lines: 11 It says in section 3.2 of the c++ 2.0 reference that the name of an enumeration type declared in class scope belongs to the enclosing scope. What about the names of the enumerators, what scope do they belong to? Cfront 2.0 and G++ says the enumerators have class scope, while Oregon C++ says the enumerators have the same scope as the enumeration type. daniel daniel@cis.ucsc.edu