bearophile Wrote: > zoli: > > Can the compiler optimize the delegates (foo) to form an inline code, or > > the mixin version is prefered?< > > Today D compilers are in general not smart enough yet (like the Scala > compiler, for example) to inline delegates. But there's an alternative to > string mixins, in D2 you can pass a templated function, even one where you > omit the type of the arguments :-) > There's no shortage of tricks in D2.
Thank you. Could you provide a sample or a link ? Sorry, i know it's a d.learn topic..., Offtopic: Is it possible to alter the web interface of the news to change newsgroups during composition ?
