[Issue 6094] && doesn't shortcut properly with CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 3 10:29:22 PDT 2011


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



--- Comment #6 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-06-03 10:24:52 PDT ---
Well, if it were allowed, I would expect to only work in places that _had_ to
be evaluated at compile-time - such as the value of enums or inside template
constraints. It would have to be stuff where it may sense to shortcut the
compilation. Inside of a function which may or may not be called with CTFE
definitely wouldn't qualify for that.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list