can i have a typed tuple?

Jarrett Billingsley kb3ctd2 at yahoo.com
Thu Aug 30 07:16:59 PDT 2007


"dennis luehring" <dl.soluz at gmx.net> wrote in message 
news:fb6dbm$2bgr$1 at digitalmars.com...
> should i do a static if test in my item_list template or can
> i limit the allowed type in the item_list interface?
>
> "variadic list of this type"

You have to do a static if or static assert.  Tuples are very permissive, 
and don't really offer any way to restrict what kinds of things can be 
passed to them. 




More information about the Digitalmars-d-learn mailing list