Code



Compilation output:

/opt/compilers/dmd2/include/std/container.d(2562): Error: template std.algorithm.initializeAll cannot deduce function from argument types !()(MyClass[]), candidates are: /opt/compilers/dmd2/include/std/algorithm.d(1266): std.algorithm.initializeAll(Range)(Range range) if (isInputRange!Range && hasLvalueElements!Range && hasAssignableElements!Range) /opt/compilers/dmd2/include/std/algorithm.d(1294): std.algorithm.initializeAll(Range)(Range range) if (is(Range == char[]) || is(Range == wchar[])) /opt/compilers/dmd2/include/std/container.d(3391): Error: template std.algorithm.copy cannot deduce function from argument types !()(Range, Range), candidates are: /opt/compilers/dmd2/include/std/algorithm.d(7497): std.algorithm.copy(Range1, Range2)(Range1 source, Range2 target) if (isInputRange!Range1 && isOutputRange!(Range2, ElementType!Range1))

Paste info


Author: Guest
Views: 458
Private: no
Expires: Never
Uploaded: 02.03.15 16:13
Votes: 0

Compilation


Compiler: DMD 2.077.1 ( 2.077.1 )
Pointer size: m64

Actions