[Issue 516] Mutually calling constructors allowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 29 15:21:56 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=516





------- Comment #8 from shro8822 at vandals.uidaho.edu  2008-06-29 17:21 -------
I disagree. I think it is valid to say that something is both illegal and that
it result in undefined behavior. I think that somewhere it is said, for
example, that it is /illegal/ to have code depend on order of evaluation (this
can't be checked, the halting problem can be found in there).

Maybe the distinction should be made between things that are illegal and the
compiler is required to reject and things that are still illegal but that it
needn't detect.


-- 



More information about the Digitalmars-d-bugs mailing list