Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,596 of 2,753    |
|    Derek Jones to All    |
|    Re: Union C++ standard    |
|    28 Nov 21 12:51:14    |
      From: derek@NOSPAM-knosof.co.uk              David,              > In C, type-punning via unions is allowed (i.e., fully defined behaviour              That is not true. Writing into one member and then reading from       another member is undefined behavior.              There is a special dispensation for what is known as a       common initial sequence:       sentence 1029       http://c0x.shape-of-code.com/6.5.2.3.html              > in the standards), but not in C++ where the language is expected to       > enforce higher-level aspects of the data.              This is a meaningless statement.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca