Static argument optimization

Vladimir Panteleev thecybershadow at gmail.com
Tue Oct 7 02:19:46 PDT 2008


On Tue, 07 Oct 2008 07:24:05 +0300, dsimcha <dsimcha at yahoo.com> wrote:

> Here's a hack at least for this special case.  It probably only works  
> for D2,
> though.  Not sure if this is the kind of (extremely hackish) thing you  
> had in
> mind, but at the very least it was a fun little template puzzle.

That looks like a nice start, thanks. Now, to write a CTFE-mixin to  
generate such templates for any function signature... :P

-- 
Best regards,
  Vladimir                          mailto:thecybershadow at gmail.com



More information about the Digitalmars-d mailing list