http://d.puremagic.com/issues/show_bug.cgi?id=3556
Summary: version(CTFE) Product: D Version: 1.050 Platform: Other OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: cbkbbej...@mailinator.com --- Comment #0 from Nick Sabalausky <cbkbbej...@mailinator.com> 2009-11-28 18:04:32 PST --- Until CTFE includes all features of runtime and has 100% same semantics as runtime (and maybe even after then), there is often a need to have separate codepaths for ctfe and runtime. A version(CTFE) would be an improvement over the current solution of making alternate CTFE-intended functions and using a naming convention to distinguish. version(CTFE) { // Sacrifice speed, flexibility, or anything else // necessary to make this code work via CTFE. } else { // Use proper D. } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------