我需要找到D.串的两个阵列之间差异的问题,我无法理解如何使用SetDifference从std.algorithm.
    auto x = SetDifference(filearr1,filearr2);
得到错误:
Error: struct std.algorithm.SetDifference cannot deduce function from argument types !()(string[], string[]), candidates are:
使用setDifference小写的"s".
SetDifference是返回的类型的名称setDifference,恰好是模板结构.编译器不能自动从结构中确定模板参数,只能从函数调用中确定,这就是为什么大多数模板结构存在辅助函数的原因.