Passing Function as an argument to another Function

codephantom me at noyb.com
Mon Dec 4 11:30:02 UTC 2017


On Monday, 4 December 2017 at 11:05:22 UTC, Vino wrote:
>  The original program is as below
>
> Error:
>
> FunTest.d(52): Error: template FunTest.ptProcessFiles cannot 
> deduce function from argument types !()(string, 
> Array!(Tuple!(string, string)) function(string FFs,
>  string Step, int DirAged), File, File, string, int),

//auto CleanDirlst = "C:\\Temp\\BACKUP, C:\\Temp\\EXPORT";
Array!string CleanDirlst = ["C:\\Temp\\BACKUP, C:\\Temp\\EXPORT"];



More information about the Digitalmars-d-learn mailing list