can i have a typed tuple?
dennis luehring
dl.soluz at gmx.net
Thu Aug 30 10:21:04 PDT 2007
Jarrett Billingsley Wrote:
> > 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.
thx
should tuples offer more restrictions (optional) ?
More information about the Digitalmars-d-learn
mailing list