forcing compile time function execution

Joshua Reusch yoschi at arkandos.de
Tue Dec 27 11:46:30 PST 2011


Am 27.12.2011 20:35, Vladimir Panteleev wrote:
> Halting problem?

Makes an not-stopping pure function really sense?
If you evaluate a function creating an infinite loop at compile-time, 
you get for sure in this state. Then, the compiler could stop the 
evaluation after some time and print an error/warning or creates runtime 
code.


More information about the Digitalmars-d mailing list