Re: Looping over Template Types ... possible?

2021-08-14 Thread james.p.leblanc via Digitalmars-d-learn
On Saturday, 14 August 2021 at 20:20:01 UTC, Stefan Koch wrote: On Saturday, 14 August 2021 at 20:07:21 UTC, james.p.leblanc wrote: mes it is possible look for `AliasSeq` in `std.meta` foreach(T; AliasSeq!(float, double)) { ... } Stefan, Thanks very much for your help here ... I had

Re: Looping over Template Types ... possible?

2021-08-14 Thread Stefan Koch via Digitalmars-d-learn
On Saturday, 14 August 2021 at 20:07:21 UTC, james.p.leblanc wrote: Good Evening/Day, Suppose I have a number of function templates that each take two types, say S and T. I would like to exercise my routines over the combinations of types: set of all S: ( double[], float[], Complex!double[],

Looping over Template Types ... possible?

2021-08-14 Thread james.p.leblanc via Digitalmars-d-learn
Good Evening/Day, Suppose I have a number of function templates that each take two types, say S and T. I would like to exercise my routines over the combinations of types: set of all S: ( double[], float[], Complex!double[], Complex!float[]) set of all T: ( double, float) Is something