Union type conversions

Farrell Woods ftw at masscomp.UUCP
Thu Jun 30 01:36:07 AEST 1988


In article <1180 at mcgill-vision.UUCP> mouse at 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



More information about the Comp.lang.c mailing list