std.parrallelism + scopedTask what is the right syntax
bioinfornatics
bioinfornatics at fedoraproject.org
Thu Feb 21 00:05:07 PST 2013
Hi,
I have a function like this:
void writeRegionOutLimit( in string outFile, ref const size_t[]
table, bool delegate(size_t) lambda, in string delimiter = ",")
when I use it with scoped task compiling fail:
auto job4 = scopedTask!writeRegionOutLimit( outFile ~
"min_warn.csv", table, (a => a < stat.quartile1 ), delimiter );
Error: template std.parallelism.scopedTask does not match any
function template declaration
Error: template std.parallelism.scopedTask cannot deduce
template function from argument types
!(writeRegionOutLimit)(string,ulong[],void,string)
what is the problem ?
More information about the Digitalmars-d-learn
mailing list