plans for macros

janderson askme at me.com
Thu May 15 08:05:05 PDT 2008


Robert Fraser wrote:
> Simen Kjaeraas wrote:
>> It should (theoretically, at least) be possible for the compiler to 
>> inline
>> the log function and the delegate, thus doing exactly what Steven asks.
> 
> Delegate inlining is non-trivial; AFAIK, neither DMD nor GDC does it

If the compiler could simply write a template behind the scenes (which 
already works) like I've shown in the other thread.  How hard would that be?

-Joel


More information about the Digitalmars-d-learn mailing list