February 27, 2012 Re: Re: class templates and static if | ||||
---|---|---|---|---|
| ||||
On Mon, Feb 27, 2012 at 09:29:25AM -0700, Tyler Jameson Little wrote: > > Parser!(Type.request) h = new Parser!(Type.request)("Hello world") Even better: auto h = new Parser!(Type.request)("Hello world"); T -- First Rule of History: History doesn't repeat itself -- historians merely repeat each other. |
February 27, 2012 Re: Re: class templates and static if | ||||
---|---|---|---|---|
| ||||
On 2/27/12, Tyler Jameson Little <beatgammit@gmail.com> wrote: > That's why I thought this model would be so cool, because > I could remove conditions from the generated code, and get rid of a lot of > the conditionals. I think Nick Sabalausky talks about this concept (removing conditionals via compile-time features) in his article http://www.semitwist.com/articles/EfficientAndFlexible/SinglePage/ Other articles from last year's contest: http://prowiki.org/wiki4d/wiki.cgi?Article_Contest |
Copyright © 1999-2021 by the D Language Foundation