Variadic templates

Mike Parker aldacron71 at yahoo.com
Thu Nov 2 01:59:59 PST 2006


Walter Bright wrote:
> See http://www.digitalmars.com/d/variadic-function-templates.html
> 
> Why now? Because it's such a pain to do template programming without 
> them, and because I wanted to have a good signals and slots 
> implementation. That was the last piece needed to make S&S work right 
> (unless I'm way off track with it).
> 
> There's a lot of unexplored territory with the tuples, they should be 
> able to do a lot more than the current rather limited ability.

Is it possible to restrict use type specialization to restrict a tuple 
to a specific type? I'm no template guru, but the things I've been 
toying around with don't work and I don't see anything in the docs about it.



More information about the Digitalmars-d mailing list