Path: utzoo!attcan!uunet!masscomp!ftw From: ftw@masscomp.UUCP (Farrell Woods) Newsgroups: comp.lang.c Subject: Re: Union type conversions Message-ID: <1113@masscomp.UUCP> Date: 29 Jun 88 15:36:07 GMT References: <5754@bloom-beacon.MIT.EDU> <1180@mcgill-vision.UUCP> Reply-To: ftw@masscomp.UUCP (Farrell Woods) Organization: MASSCOMP - Westford, Ma Lines: 30 In article <1180@mcgill-vision.UUCP> mouse@mcgill-vision.UUCP (der Mouse) writes: >Nowhere did I find anything that comes right out and >*says* you can't cast to an aggregate type. However, I also found >nothing explicitly requiring it to even compile, much less work. >Could someone with a copy of the draft standard say just how much >latitude it allows on this point? > der Mouse My old and crusty October '86 dpANS says this: (page 39, 3.3.4 Cast operators) Constraints ...the type name shall specify a scalar type and the operand shall have scalar type. ... Not much latitude there! 8-) -- ============================================================================ Farrell T. Woods - Engineer, OS Development MASSCOMP (617)692-6200 x2471 1 Technology Park {ihnp4|decvax|uunet|allegra}!masscomp!ftw Westford, MA 01886