[M3devel] Oops, forgot to ask

hendrik at topoi.pooq.com hendrik at topoi.pooq.com
Thu Dec 17 00:13:49 CET 2009


On Wed, Dec 16, 2009 at 12:48:02PM -0800, Peter Eiserloh wrote:
> 
> 2 - Recently there was discussion about creating a new type, 
> that is halfway a REFANY, and halfway a value itself.  I 
> myself dislike unions, and fortran equivalences, and any 
> other aliasing techniques, but if the compiler supports it, 
> we should document it.

I too hate C unions and fortran equivalences.  They cause program 
breakage, because they're violently insecure.

But that's not that these are.  These things are properly type-tagged, 
and if further it is impossible to get at their contents without 
checking the proper type-tag.

-- hendrik



More information about the M3devel mailing list