Code



Compilation output:

/opt/compilers/dmd2/include/std/algorithm/iteration.d(2570): Error: variable f864.main.F!(__lambda1).e cannot be declared to be a function /opt/compilers/dmd2/include/std/meta.d(546): Error: template instance f864.main.F!(__lambda1) error instantiating /opt/compilers/dmd2/include/std/algorithm/iteration.d(2477): instantiated from here: staticMap!(ReduceSeedType, __lambda1) /d897/f864.d(16): instantiated from here: reduce!(BitArray[]) /d897/f864.d(16): Error: template std.algorithm.iteration.reduce cannot deduce function from argument types !((a, b) => a & b)(BitArray[]), candidates are: /opt/compilers/dmd2/include/std/algorithm/iteration.d(2451): std.algorithm.iteration.reduce(fun...) if (fun.length >= 1)

Paste info


Author: Guest
Views: 256
Private: no
Expires: Never
Uploaded: 29.12.15 18:42
Votes: 0

Compilation


Compiler: DMD 2.076.1 ( 2.076.1 )
Pointer size: m64

Actions