Handy templates

Philippe Sigaud philippe.sigaud at gmail.com
Thu May 27 14:15:41 PDT 2010


>On Thu, May 27, 2010 at 01:00, Simen kjaeraas <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?
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...



>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20100527/339a952e/attachment.html>


More information about the Digitalmars-d-learn mailing list