Code



Compilation output:

/d793/f84.d(8): Error: template std.algorithm.mutation.remove cannot deduce function from argument types !((c) => c == 'b')(char[]), candidates are: /opt/compilers/dmd2/include/std/algorithm/mutation.d(1682): std.algorithm.mutation.remove(SwapStrategy s = SwapStrategy.stable, Range, Offset...)(Range range, Offset offset) if (s != SwapStrategy.stable && isBidirectionalRange!Range && hasLvalueElements!Range && hasLength!Range && Offset.length >= 1) /opt/compilers/dmd2/include/std/algorithm/mutation.d(1769): std.algorithm.mutation.remove(SwapStrategy s = SwapStrategy.stable, Range, Offset...)(Range range, Offset offset) if (s == SwapStrategy.stable && isBidirectionalRange!Range && hasLvalueElements!Range && Offset.length >= 1) /opt/compilers/dmd2/include/std/algorithm/mutation.d(1932): std.algorithm.mutation.remove(alias pred, SwapStrategy s = SwapStrategy.stable, Range)(Range range) if (isBidirectionalRange!Range && hasLvalueElements!Range)

Paste info


Author: Guest
Views: 22
Private: no
Expires: Never
Uploaded: 19.03.17 23:52
Votes: 0

Compilation


Compiler: DMD 2.073.2 ( 2.073.2 )
Pointer size: m64

Actions