remove not callable for char[]

Flaze07 christianseiji.cs at gmail.com
Tue Jun 12 06:33:10 UTC 2018


well, not really, it just cannot auto deduce, the problem is, I 
don't know what to put in, I know that I can put in 
SwapStrategy.stable for the first one, but what about the Range, 
I don't know what to put in
E.g
int[] i = [ 1, 2 ];
i = i.remove( 1 );//able to automagically deduce

char[] c = [ 'a', 'b' ];
c = c.remove( 1 ); //unable to deduce what char[] is in range


More information about the Digitalmars-d-learn mailing list