🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c++
Article #208

Re: Unintuitive semantics for enum

#208
From: Andrew Koenig
Date: Sun, 25 May 1986 14:40
7 lines
856 bytes
> 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.
Technical Details
Message-ID: <5524@alice.uUCp>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!alice!ark
References: <18407@rochester.ARPA>

Show Full Headers
Complete Article Headers
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: arc1-ca.pugleaf.net!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