Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!jrdzzz.jrd.dec.com!tkou02.enet.dec.com!jit533!diamond From: diamond@jit533.swstokyo.dec.com (Norman Diamond) Newsgroups: comp.std.c Subject: Re: How soon can `sizeof (tagged_type)' be used? Message-ID: <1991May20.034617.19896@tkou02.enet.dec.com> Date: 20 May 91 03:46:17 GMT References: <5506@lupine.NCD.COM> Sender: usenet@tkou02.enet.dec.com (USENET News System) Reply-To: diamond@jit533.enet@tkou02.enet.dec.com (Norman Diamond) Organization: Digital Equipment Corporation Japan , Tokyo Lines: 14 In article enag@ifi.uio.no (Erik Naggum) writes: >Ron Guilmette writes: >> enum E { red, green = sizeof (enum E), blue }; > >What is "sizeof (enum E)" supposed to return if not the same as >"sizeof (int)"? sizeof (short), sizeof (long), or sizeof (other_integral_type_which_the_\ implementation_is_allowed_to_define_even_though_portable_programs_cannot_\ directly_name_this_type) -- Norman Diamond diamond@tkov50.enet.dec.com If this were the company's opinion, I wouldn't be allowed to post it. Permission is granted to feel this signature, but not to look at it.