Handy templates

Don nospam at nospam.com
Fri May 28 12:49:03 PDT 2010


Philippe Sigaud wrote:
>  >On Thu, May 27, 2010 at 01:00, Simen kjaeraas <simen.kjaras at gmail.com 
> <mailto:simen.kjaras at gmail.com>> wrote:
>  >Here's a collection of templates I have created and use often.
>  >Some of these may be fit for inclusion in Phobos, others maybe not as 
> much.
>  >Please critique, and post your own indispensable snippets.
> 
> 
> Hey, cool idea ! Do you have a site to put them online?

If not, please put them in dsource/scrapple.

> The one you call Repeat, I call TypeNuple and use it almost on a daily 
> basis.
> 
> I have a bunch of those there:
> 
> http://svn.dsource.org/projects/dranges/trunk/dranges/docs/templates.html
> 
> I'm particularly fond of Compose, TemplateParametersTypeTuple, and 
> TemplateFunArity. Any comme
> 
> I also have templates acting specifically on typetuples there:
> 
> http://svn.dsource.org/projects/dranges/trunk/dranges/docs/typetuple2.html
> 
> Strangely enough, I _have_ uses for things like StaticScan...
> 
> 
> 


More information about the Digitalmars-d-learn mailing list