Template recursion error on table struct
data pulverizer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Mar 25 14:59:39 PDT 2016
p.s. I realise that the ColumnTable call is a little ponderous
but I tidy it up in a convenience wrapper function:
auto CreateDataTable(Args...)(){
string[] names;
foreach(i, arg; Args){
names ~= Args[i].stringof;
}
auto df = ColumnTable!(Args)(Args);
df.setNames(names);
return df;
}
// auto myTable = CreateDataTable!(names, salary, age)();
More information about the Digitalmars-d-learn
mailing list