Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!ark From: ark@alice.UucP (Andrew Koenig) Newsgroups: net.lang.c++ Subject: Re: Unintuitive semantics for enum Message-ID: <5524@alice.uUCp> Date: Sun, 25-May-86 10:40:29 EDT Article-I.D.: alice.5524 Posted: Sun May 25 10:40:29 1986 Date-Received: Mon, 26-May-86 02:06:44 EDT References: <18407@rochester.ARPA> Organization: Bell Labs, Murray Hill Lines: 7 > I just tripped over another "feature" of c++. > This feature is that enums are not types. > They look like types but really are synonomous with sets of > constant definitions and typedefs of ints. This strikes me as wrong. Maybe so, but that's how C does it and C++ is just trying to be compatible here.