Language features and reinterpret casts

bearophile bearophileHUGS at lycos.com
Mon Sep 20 18:45:42 PDT 2010


Jesse Phillips:

> But where does Walter say Unions act as C in this case?

It was an answer in a thread of mine where I have asked to remove some D undefined behaviours derived from C.
This is the thread start:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=108978


> Why not, define the behavior and leave it.

This was the original purpose of my thread, but Walter has explained me that this is not possible for the unions:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=109033
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=109058

Bye,
bearophile


More information about the Digitalmars-d mailing list