chain(const array of class) fails

Code



Compilation output:

/d100/f391.d(14): Error: template std.range.chain cannot deduce function from argument types !()(const(B[]), const(C[])), candidates are: /opt/compilers/dmd2/include/std/range/package.d(804): std.range.chain(Ranges...)(Ranges rs) if (Ranges.length > 0 && allSatisfy!(isInputRange, staticMap!(Unqual, Ranges)) && !is(CommonType!(staticMap!(ElementType, staticMap!(Unqual, Ranges))) == void))

Paste info


Author: Guest
Views: 297
Private: no
Expires: Never
Uploaded: 31.01.16 22:16
Votes: 0

Compilation


Compiler: DMD 2.077.1 ( 2.077.1 )
Pointer size: m64

Actions