Compile time function execution...

Frank Benoit (keinfarbton) benoit at tionex.removethispart.de
Thu Feb 15 18:19:06 PST 2007


many others asked about explicitly run at compile time, and there is
this template solution.

doesn't this again end up in a new type?

I personally do not like the eval!( func() ) syntax.
I think this is a new important feature, worth a new syntax.

How about something like

func!!()
func#()

This new call syntax forces a function to run in the compiler.



More information about the Digitalmars-d mailing list