Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!nuug!ifi!enag From: enag@ifi.uio.no (Erik Naggum) Newsgroups: comp.std.c Subject: Re: How soon can `sizeof (tagged_type)' be used? Message-ID: Date: 19 May 91 22:49:28 GMT References: <5506@lupine.NCD.COM> Sender: enag@ifi.uio.no (Erik Naggum) Organization: Naggum Software, Oslo, Norway Lines: 16 In-Reply-To: rfg@lupine.ncd.com's message of 12 May 91 07: 04:00 GMT Ron Guilmette writes: | | Are either or both of these examples legal? | | enum E { red, green = sizeof (enum E), blue }; I think I may be missing something vital in your question. What is "sizeof (enum E)" supposed to return if not the same as "sizeof (int)"? -- Erik Naggum Professional Programmer +47-2-836-863 Naggum Software Electronic Text 0118 OSLO, NORWAY Computer Communications